You've already forked mariadb-connector-c
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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user