Fixed compiler warnings and wrong test results
This commit is contained in:
parent
f82212946f
commit
cba84469eb
@ -1563,7 +1563,7 @@ static void make_error_message(char *buf, size_t len, const char *fmt, va_list a
|
|||||||
fmt= "unknown error";
|
fmt= "unknown error";
|
||||||
|
|
||||||
s+= my_vsnprintf(s, end - s, fmt, args);
|
s+= my_vsnprintf(s, end - s, fmt, args);
|
||||||
s+= my_snprintf(s, end -s, "\n", start_lineno);
|
s+= my_snprintf(s, end -s, "\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
void die(const char *fmt, ...)
|
void die(const char *fmt, ...)
|
||||||
|
@ -1547,7 +1547,7 @@ insert into t1 values('aaa');
|
|||||||
set statement sql_mode = 'NO_ENGINE_SUBSTITUTION' for
|
set statement sql_mode = 'NO_ENGINE_SUBSTITUTION' for
|
||||||
alter table t1 add index(a(1024));
|
alter table t1 add index(a(1024));
|
||||||
Warnings:
|
Warnings:
|
||||||
Warning 1071 Specified key was too long; max key length is 767 bytes
|
Note 1071 Specified key was too long; max key length is 767 bytes
|
||||||
show create table t1;
|
show create table t1;
|
||||||
Table Create Table
|
Table Create Table
|
||||||
t1 CREATE TABLE `t1` (
|
t1 CREATE TABLE `t1` (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user