diff options
author | unknown <knielsen@mysql.com> | 2006-05-02 09:19:54 +0200 |
---|---|---|
committer | unknown <knielsen@mysql.com> | 2006-05-02 09:19:54 +0200 |
commit | 33417297c5e11ff82aae7bc2d8b5a75968725905 (patch) | |
tree | 344e142a1552ff36726a9f213f672836202a643a /tests/mysql_client_test.c | |
parent | a82956545761a68c87d235ba4b0bea9729cebab7 (diff) | |
download | mariadb-git-33417297c5e11ff82aae7bc2d8b5a75968725905.tar.gz |
Fix a bunch of non-Linux compile failures.
VC++Files/mysql.sln:
mysql_client_test depends on mysys.
VC++Files/mysys/mysys.vcproj:
Add new file missing in previous push.
mysys/my_memmem.c:
Fix illegal pointer arithmetics on void *.
tests/Makefile.am:
-L must go before -l
tests/mysql_client_test.c:
No declarations after statement in C code.
Diffstat (limited to 'tests/mysql_client_test.c')
-rw-r--r-- | tests/mysql_client_test.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/mysql_client_test.c b/tests/mysql_client_test.c index 4bd636a7ae3..b0971980168 100644 --- a/tests/mysql_client_test.c +++ b/tests/mysql_client_test.c @@ -14828,7 +14828,6 @@ static void test_bug15613() static void test_bug17667() { int rc; - myheader("test_bug17667"); struct buffer_and_length { const char *buffer; const uint length; @@ -14845,6 +14844,8 @@ static void test_bug17667() struct buffer_and_length *statement_cursor; FILE *log_file; + myheader("test_bug17667"); + for (statement_cursor= statements; statement_cursor->buffer != NULL; statement_cursor++) { rc= mysql_real_query(mysql, statement_cursor->buffer, |