summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorunknown <antony@pcg5ppc.xiphis.org>2007-07-24 10:54:12 -0700
committerunknown <antony@pcg5ppc.xiphis.org>2007-07-24 10:54:12 -0700
commit8a159e381b0dbbc1d3d5645d46e05be771578e4f (patch)
tree73b02a7f4b3a8cedf8812570100e7fb08b861b81 /tests
parent791eee3ec2258177195d0463c2a9a4961e709598 (diff)
parent5415dcc337cb348f35bc17299a2ca07ac60316f8 (diff)
downloadmariadb-git-8a159e381b0dbbc1d3d5645d46e05be771578e4f.tar.gz
Merge pcg5ppc.xiphis.org:/private/Network/Servers/anubis.xiphis.org/home/antony/work/p2-bug25714.1.merge-5.0
into pcg5ppc.xiphis.org:/private/Network/Servers/anubis.xiphis.org/home/antony/work/p2-bug25714.1.merge-5.1
Diffstat (limited to 'tests')
-rw-r--r--tests/bug25714.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/tests/bug25714.c b/tests/bug25714.c
index d163b8ad00e..e9b2be44209 100644
--- a/tests/bug25714.c
+++ b/tests/bug25714.c
@@ -13,10 +13,10 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
+#include <my_global.h>
+#include <my_sys.h>
#include <mysql.h>
-#include <string.h>
-#include <stdio.h>
-#include <stdlib.h>
+#include <m_string.h>
#include <assert.h>
int main (int argc, char **argv)
@@ -27,6 +27,8 @@ int main (int argc, char **argv)
const char* query4= "INSERT INTO federated.t1 SET Value=54";
const char* query5= "INSERT INTO federated.t1 SET Value=55";
+ MY_INIT(argv[0]);
+
if (argc != 2)
return -1;
@@ -63,6 +65,7 @@ int main (int argc, char **argv)
(long) mysql_insert_id(&conn));
mysql_close(&conn);
+ my_end(0);
return 0;
};