Commit 0789b177 authored by unknown's avatar unknown

cs fixes

parent 757ad317
...@@ -13617,8 +13617,8 @@ static void test_bug10214() ...@@ -13617,8 +13617,8 @@ static void test_bug10214()
static void test_client_character_set() static void test_client_character_set()
{ {
MY_CHARSET_INFO cs; MY_CHARSET_INFO cs;
char *csname = (char*) "utf8"; char *csname= (char*) "utf8";
char *csdefault = (char*)mysql_character_set_name(mysql); char *csdefault= (char*)mysql_character_set_name(mysql);
int rc; int rc;
myheader("test_client_character_set"); myheader("test_client_character_set");
...@@ -13732,16 +13732,16 @@ static void test_bug11037() ...@@ -13732,16 +13732,16 @@ static void test_bug11037()
fprintf(stdout, "Got error, as expected:\n [%d] %s\n", fprintf(stdout, "Got error, as expected:\n [%d] %s\n",
mysql_stmt_errno(stmt), mysql_stmt_error(stmt)); mysql_stmt_errno(stmt), mysql_stmt_error(stmt));
rc = mysql_stmt_execute(stmt); rc= mysql_stmt_execute(stmt);
check_execute(stmt, rc); check_execute(stmt, rc);
rc = mysql_stmt_fetch(stmt); rc= mysql_stmt_fetch(stmt);
DIE_UNLESS(rc==0); DIE_UNLESS(rc==0);
rc = mysql_stmt_fetch(stmt); rc= mysql_stmt_fetch(stmt);
DIE_UNLESS(rc==MYSQL_NO_DATA); DIE_UNLESS(rc==MYSQL_NO_DATA);
rc = mysql_stmt_fetch(stmt); rc= mysql_stmt_fetch(stmt);
DIE_UNLESS(rc==MYSQL_NO_DATA); DIE_UNLESS(rc==MYSQL_NO_DATA);
mysql_stmt_close(stmt); mysql_stmt_close(stmt);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment