Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
cba84469
Commit
cba84469
authored
Apr 23, 2017
by
Monty
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed compiler warnings and wrong test results
parent
f8221294
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
client/mysqltest.cc
client/mysqltest.cc
+1
-1
mysql-test/suite/innodb/r/innodb_mysql.result
mysql-test/suite/innodb/r/innodb_mysql.result
+1
-1
No files found.
client/mysqltest.cc
View file @
cba84469
...
@@ -1563,7 +1563,7 @@ static void make_error_message(char *buf, size_t len, const char *fmt, va_list a
...
@@ -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
,
...)
...
...
mysql-test/suite/innodb/r/innodb_mysql.result
View file @
cba84469
...
@@ -1547,7 +1547,7 @@ insert into t1 values('aaa');
...
@@ -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` (
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment