1
0
mirror of https://github.com/mariadb-corporation/mariadb-connector-c.git synced 2025-08-07 02:42:49 +03:00

Unittest fixes (recommit to start/test buildbot)

This commit is contained in:
holzboote@googlemail.com
2014-04-02 18:21:30 +02:00
parent b0678c6110
commit 8cab5e53a4
7 changed files with 513 additions and 152 deletions

View File

@@ -816,6 +816,11 @@ static int test_conc49(MYSQL *mysql)
{
int rc;
MYSQL_RES *res;
int i;
FILE *fp= fopen("./sample.csv", "w");
for (i=1; i < 4; i++)
fprintf(fp, "\"%d\", \"%d\", \"%d\"\r\n", i, i, i);
fclose(fp);
rc= mysql_query(mysql, "DROP TABLE IF EXISTS conc49");
check_mysql_rc(rc, mysql);
rc= mysql_query(mysql, "CREATE TABLE conc49 (a int, b int, c int) Engine=InnoDB DEFAULT CHARSET=latin1");