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
08f3ba0e
Commit
08f3ba0e
authored
Aug 26, 2004
by
serg@serg.mylan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
after merge
parent
5633414c
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
24 additions
and
23 deletions
+24
-23
sql/item_row.cc
sql/item_row.cc
+2
-1
sql/log.cc
sql/log.cc
+19
-19
sql/sql_base.cc
sql/sql_base.cc
+2
-2
tests/client_test.c
tests/client_test.c
+1
-1
No files found.
sql/item_row.cc
View file @
08f3ba0e
...
@@ -66,7 +66,8 @@ bool Item_row::fix_fields(THD *thd, TABLE_LIST *tabl, Item **ref)
...
@@ -66,7 +66,8 @@ bool Item_row::fix_fields(THD *thd, TABLE_LIST *tabl, Item **ref)
// we can't assign 'item' before, because fix_fields() can change arg
// we can't assign 'item' before, because fix_fields() can change arg
Item
*
item
=
*
arg
;
Item
*
item
=
*
arg
;
used_tables_cache
|=
item
->
used_tables
();
used_tables_cache
|=
item
->
used_tables
();
if
(
const_item_cache
&=
item
->
const_item
()
&&
!
with_null
)
const_item_cache
&=
item
->
const_item
()
&&
!
with_null
;
if
(
const_item_cache
)
{
{
if
(
item
->
cols
()
>
1
)
if
(
item
->
cols
()
>
1
)
with_null
|=
item
->
null_inside
();
with_null
|=
item
->
null_inside
();
...
...
sql/log.cc
View file @
08f3ba0e
...
@@ -2200,6 +2200,8 @@ void MYSQL_LOG::report_pos_in_innodb()
...
@@ -2200,6 +2200,8 @@ void MYSQL_LOG::report_pos_in_innodb()
my_b_tell
(
&
log_file
));
my_b_tell
(
&
log_file
));
}
}
#endif
#endif
DBUG_VOID_RETURN
;
}
#ifdef __NT__
#ifdef __NT__
void
print_buffer_to_nt_eventlog
(
enum
loglevel
level
,
char
*
buff
,
int
buffLen
)
void
print_buffer_to_nt_eventlog
(
enum
loglevel
level
,
char
*
buff
,
int
buffLen
)
...
@@ -2241,7 +2243,6 @@ void print_buffer_to_nt_eventlog(enum loglevel level, char *buff, int buffLen)
...
@@ -2241,7 +2243,6 @@ void print_buffer_to_nt_eventlog(enum loglevel level, char *buff, int buffLen)
if
(
buffptr
!=
buff
)
if
(
buffptr
!=
buff
)
delete
[]
buffptr
;
delete
[]
buffptr
;
DBUG_VOID_RETURN
;
DBUG_VOID_RETURN
;
}
}
#endif
#endif
...
@@ -2267,7 +2268,6 @@ void print_buffer_to_nt_eventlog(enum loglevel level, char *buff, int buffLen)
...
@@ -2267,7 +2268,6 @@ void print_buffer_to_nt_eventlog(enum loglevel level, char *buff, int buffLen)
void
vprint_msg_to_log
(
enum
loglevel
level
,
const
char
*
format
,
va_list
args
)
void
vprint_msg_to_log
(
enum
loglevel
level
,
const
char
*
format
,
va_list
args
)
{
{
char
buff
[
1024
];
char
buff
[
1024
];
DBUG_ENTER
(
"vprint_msg_to_log"
);
DBUG_ENTER
(
"vprint_msg_to_log"
);
my_vsnprintf
(
buff
,
sizeof
(
buff
)
-
5
,
format
,
args
);
my_vsnprintf
(
buff
,
sizeof
(
buff
)
-
5
,
format
,
args
);
...
...
sql/sql_base.cc
View file @
08f3ba0e
...
@@ -2449,8 +2449,8 @@ insert_fields(THD *thd,TABLE_LIST *tables, const char *db_name,
...
@@ -2449,8 +2449,8 @@ insert_fields(THD *thd,TABLE_LIST *tables, const char *db_name,
if
(
db_name
&&
lower_case_table_names
)
if
(
db_name
&&
lower_case_table_names
)
{
{
/* convert database to lower case for comparison */
/* convert database to lower case for comparison */
strmake
(
name_buff
,
db_name
,
sizeof
(
name_buff
)
-
1
);
strmake
(
name_buff
,
db_name
,
sizeof
(
name_buff
)
-
1
);
casedn_str
(
name_buff
);
my_casedn_str
(
system_charset_info
,
name_buff
);
db_name
=
name_buff
;
db_name
=
name_buff
;
}
}
...
...
tests/client_test.c
View file @
08f3ba0e
...
@@ -10142,7 +10142,7 @@ static void get_options(int argc, char **argv)
...
@@ -10142,7 +10142,7 @@ static void get_options(int argc, char **argv)
int
ho_error
;
int
ho_error
;
if
((
ho_error
=
handle_options
(
&
argc
,
&
argv
,
client_test_long_options
,
if
((
ho_error
=
handle_options
(
&
argc
,
&
argv
,
client_test_long_options
,
get_one_option
)))
get_one_option
,
0
)))
exit
(
ho_error
);
exit
(
ho_error
);
if
(
tty_password
)
if
(
tty_password
)
...
...
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