summaryrefslogtreecommitdiff
blob: e1ef0e57a553e4fcc7ed2922418aadf2e353c1e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff -Nuar mysql-5.0.91.orig//sql/sql_parse.cc mysql-5.0.91//sql/sql_parse.cc
--- mysql-5.0.91.orig//sql/sql_parse.cc	2010-05-05 14:07:10.000000000 +0000
+++ mysql-5.0.91//sql/sql_parse.cc	2010-05-21 20:29:16.714903163 +0000
@@ -499,7 +499,9 @@
         big packets indefinitely, this is a previously established behavior
         that needs to be preserved as to not break backwards compatibility.
       */
+#if defined(MYSQL_SERVER) && !defined(EMBEDDED_LIBRARY)
       thd->net.skip_big_packet= TRUE;
+#endif
       /* Ready to handle queries */
       DBUG_RETURN(0);
     }