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
4aafb1ef
Commit
4aafb1ef
authored
Feb 16, 2004
by
monty@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleanup + safety comment
parent
3e1ec199
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
7 deletions
+4
-7
sql/share/english/errmsg.txt
sql/share/english/errmsg.txt
+3
-1
sql/sql_load.cc
sql/sql_load.cc
+1
-6
No files found.
sql/share/english/errmsg.txt
View file @
4aafb1ef
...
...
@@ -238,5 +238,7 @@
"Wrong usage/placement of '%s'",
"This version of MySQL doesn't yet support '%s'",
"Got fatal error %d: '%-.128s' from master when reading data from binary log",
"Slave SQL thread ignored the query because of replicate-*-table rules"
"Slave SQL thread ignored the query because of replicate-*-table rules"
,
"Variable '%-.64s' is a %s variable"
] # End of error messages
# Do NOT add new error messages here as this makes merges to 4.1 too hard!
sql/sql_load.cc
View file @
4aafb1ef
...
...
@@ -92,12 +92,7 @@ int mysql_load(THD *thd,sql_exchange *ex,TABLE_LIST *table_list,
LOAD_FILE_INFO
lf_info
;
char
*
db
=
table_list
->
db
;
// This is never null
/* If no current database, use database where table is located */
char
*
tdb
=
thd
->
db
?
thd
->
db
:
db
;
/*
'tdb' can be NULL only if both table_list->db and thd->db are NULL
'db' itself can be NULL. but in that case it will generate
an error earlier open_ltable()).
*/
char
*
tdb
=
thd
->
db
?
thd
->
db
:
db
;
// Result is never null
bool
transactional_table
,
log_delayed
;
ulong
skip_lines
=
ex
->
skip_lines
;
DBUG_ENTER
(
"mysql_load"
);
...
...
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