mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Merge remote-tracking branch 'origin/10.2' into bb-10.2-ext
This commit is contained in:
@@ -11821,7 +11821,7 @@ static void test_bug5194()
|
||||
}
|
||||
*query_ptr= '\0';
|
||||
|
||||
rc= mysql_stmt_prepare(stmt, query, query_ptr - query);
|
||||
rc= mysql_stmt_prepare(stmt, query, (ulong)(query_ptr - query));
|
||||
if (rc && nrows * COLUMN_COUNT > uint16_max)
|
||||
{
|
||||
if (!opt_silent)
|
||||
@@ -15803,7 +15803,7 @@ static void test_bug21206()
|
||||
for (fetch= fetch_array; fetch < fetch_array + cursor_count; ++fetch)
|
||||
{
|
||||
/* Init will exit(1) in case of error */
|
||||
stmt_fetch_init(fetch, fetch - fetch_array, query);
|
||||
stmt_fetch_init(fetch, (uint)(fetch - fetch_array), query);
|
||||
}
|
||||
|
||||
for (fetch= fetch_array; fetch < fetch_array + cursor_count; ++fetch)
|
||||
@@ -16005,7 +16005,7 @@ static void test_bug21635()
|
||||
rc= mysql_query(mysql, "INSERT INTO t1 VALUES (1)");
|
||||
myquery(rc);
|
||||
|
||||
rc= mysql_real_query(mysql, query, query_end - query);
|
||||
rc= mysql_real_query(mysql, query, (ulong)(query_end - query));
|
||||
myquery(rc);
|
||||
|
||||
result= mysql_use_result(mysql);
|
||||
|
Reference in New Issue
Block a user