Skip to content

Instantly share code, notes, and snippets.

@jbuchbinder
Created November 8, 2012 00:03
Show Gist options
  • Save jbuchbinder/4035502 to your computer and use it in GitHub Desktop.
Save jbuchbinder/4035502 to your computer and use it in GitHub Desktop.
RLib patch for stored procedure support
diff -uNr rlib-1.3.7-orig/inputs/mysql/mysql.c rlib-1.3.7/inputs/mysql/mysql.c
--- rlib-1.3.7-orig/inputs/mysql/mysql.c 2006-01-08 18:18:33.000000000 -0500
+++ rlib-1.3.7/inputs/mysql/mysql.c 2007-10-13 16:57:44.000000000 -0400
@@ -66,7 +66,7 @@
group == NULL ? database : mysql->options.db,
group == NULL ? 0 : mysql->options.port,
group == NULL ? NULL : mysql->options.unix_socket,
- 0
+ CLIENT_MULTI_STATEMENTS
) == NULL)
return NULL;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment