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
8ad9752e
Commit
8ad9752e
authored
Dec 13, 2004
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/home/mysql_src/mysql-4.1-clean
parents
e022ec1e
d882df9b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
sql/log_event.cc
sql/log_event.cc
+6
-1
sql/mysqld.cc
sql/mysqld.cc
+2
-1
No files found.
sql/log_event.cc
View file @
8ad9752e
...
@@ -1416,7 +1416,9 @@ Load_log_event::Load_log_event(THD *thd_arg, sql_exchange *ex,
...
@@ -1416,7 +1416,9 @@ Load_log_event::Load_log_event(THD *thd_arg, sql_exchange *ex,
List
<
Item
>
&
fields_arg
,
List
<
Item
>
&
fields_arg
,
enum
enum_duplicates
handle_dup
,
enum
enum_duplicates
handle_dup
,
bool
using_trans
)
bool
using_trans
)
:
Log_event
(
thd_arg
,
0
,
using_trans
),
thread_id
(
thd_arg
->
thread_id
),
:
Log_event
(
thd_arg
,
!
thd_arg
->
tmp_table_used
?
0
:
LOG_EVENT_THREAD_SPECIFIC_F
,
using_trans
),
thread_id
(
thd_arg
->
thread_id
),
slave_proxy_id
(
thd_arg
->
variables
.
pseudo_thread_id
),
slave_proxy_id
(
thd_arg
->
variables
.
pseudo_thread_id
),
num_fields
(
0
),
fields
(
0
),
num_fields
(
0
),
fields
(
0
),
field_lens
(
0
),
field_block_len
(
0
),
field_lens
(
0
),
field_block_len
(
0
),
...
@@ -1606,6 +1608,9 @@ void Load_log_event::print(FILE* file, bool short_form, char* last_db,
...
@@ -1606,6 +1608,9 @@ void Load_log_event::print(FILE* file, bool short_form, char* last_db,
commented
?
"# "
:
""
,
commented
?
"# "
:
""
,
db
);
db
);
if
(
flags
&
LOG_EVENT_THREAD_SPECIFIC_F
)
fprintf
(
file
,
"%sSET @@session.pseudo_thread_id=%lu;
\n
"
,
commented
?
"# "
:
""
,
(
ulong
)
thread_id
);
fprintf
(
file
,
"%sLOAD DATA "
,
fprintf
(
file
,
"%sLOAD DATA "
,
commented
?
"# "
:
""
);
commented
?
"# "
:
""
);
if
(
check_fname_outside_temp_buf
())
if
(
check_fname_outside_temp_buf
())
...
...
sql/mysqld.cc
View file @
8ad9752e
...
@@ -4757,7 +4757,8 @@ replicating a LOAD DATA INFILE command.",
...
@@ -4757,7 +4757,8 @@ replicating a LOAD DATA INFILE command.",
(
gptr
*
)
&
delayed_queue_size
,
(
gptr
*
)
&
delayed_queue_size
,
0
,
GET_ULONG
,
(
gptr
*
)
&
delayed_queue_size
,
(
gptr
*
)
&
delayed_queue_size
,
0
,
GET_ULONG
,
REQUIRED_ARG
,
DELAYED_QUEUE_SIZE
,
1
,
~
0L
,
0
,
1
,
0
},
REQUIRED_ARG
,
DELAYED_QUEUE_SIZE
,
1
,
~
0L
,
0
,
1
,
0
},
{
"expire_logs_days"
,
OPT_EXPIRE_LOGS_DAYS
,
{
"expire_logs_days"
,
OPT_EXPIRE_LOGS_DAYS
,
"Binary logs will be rotated after expire-log-days days "
,
"If non-zero, binary logs will be purged after expire_logs_days "
"days; possible purges happen at startup and at binary log rotation."
,
(
gptr
*
)
&
expire_logs_days
,
(
gptr
*
)
&
expire_logs_days
,
(
gptr
*
)
&
expire_logs_days
,
0
,
GET_ULONG
,
(
gptr
*
)
&
expire_logs_days
,
0
,
GET_ULONG
,
REQUIRED_ARG
,
0
,
0
,
99
,
0
,
1
,
0
},
REQUIRED_ARG
,
0
,
0
,
99
,
0
,
1
,
0
},
...
...
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