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
45ac1365
Commit
45ac1365
authored
Nov 03, 2006
by
bar@mysql.com/bar.intranet.mysql.r18.ru
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
After merge fix for BUG#18908 ERROR 1406 (22001): Data too long for column :: using utf8
parent
cefa1cf9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
0 deletions
+13
-0
sql/log.cc
sql/log.cc
+12
-0
strings/ctype-utf8.c
strings/ctype-utf8.c
+1
-0
No files found.
sql/log.cc
View file @
45ac1365
...
...
@@ -386,6 +386,18 @@ bool Log_to_csv_event_handler::
{
TABLE
*
table
=
general_log
.
table
;
/*
"INSERT INTO general_log" can generate warning sometimes.
Let's reset warnings from previous queries,
otherwise warning list can grow too much,
so thd->query gets spoiled as some point in time,
and mysql_parse() receives a broken query.
QQ: this problem needs to be studied in more details.
Probably it's better to suppress warnings in logging INSERTs at all.
Comment this line and run "cast.test" to see what's happening:
*/
mysql_reset_errors
(
table
->
in_use
,
1
);
/* below should never happen */
if
(
unlikely
(
!
logger
.
is_log_tables_initialized
))
return
FALSE
;
...
...
strings/ctype-utf8.c
View file @
45ac1365
...
...
@@ -4051,6 +4051,7 @@ static MY_CHARSET_HANDLER my_charset_filename_handler=
my_strntoull_8bit
,
my_strntod_8bit
,
my_strtoll10_8bit
,
my_strntoull10rnd_8bit
,
my_scan_8bit
};
...
...
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