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

Global cleanup:

removed global locks
  removed dead code and files
  removed dbug
This commit is contained in:
Georg Richter
2016-02-08 18:43:02 +01:00
parent f3577bab94
commit 4ca933bb81
143 changed files with 2562 additions and 12777 deletions

View File

@@ -658,7 +658,6 @@ static int test_bug_54100(MYSQL *mysql)
/* We need this internal function for the test */
MARIADB_CHARSET_INFO * mysql_find_charset_name(const char *name);
static int test_utf16_utf32_noboms(MYSQL *mysql)
{
@@ -713,6 +712,7 @@ static int test_utf16_utf32_noboms(MYSQL *mysql)
rc= mariadb_convert_string(in_string[UTF8], &in_len, csinfo[UTF8], buffer, &out_len, csinfo[i], &error);
FAIL_IF(rc==-1, "Conversion failed");
diag("rc=%d oct_len: %d", rc, in_oct_len[i]);
FAIL_IF(rc != in_oct_len[i], "Incorrect number of written bytes");
if (memcmp(buffer, in_string[i], rc) != 0)