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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
82257f94
Commit
82257f94
authored
Aug 26, 2004
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
after merge
sql/item_row.cc: ds20 compat fix
parent
94a39ec6
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 @
82257f94
...
...
@@ -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
Item
*
item
=
*
arg
;
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
)
with_null
|=
item
->
null_inside
();
...
...
sql/log.cc
View file @
82257f94
...
...
@@ -2200,6 +2200,8 @@ void MYSQL_LOG::report_pos_in_innodb()
my_b_tell
(
&
log_file
));
}
#endif
DBUG_VOID_RETURN
;
}
#ifdef __NT__
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
)
delete
[]
buffptr
;
DBUG_VOID_RETURN
;
}
#endif
...
...
@@ -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
)
{
char
buff
[
1024
];
DBUG_ENTER
(
"vprint_msg_to_log"
);
my_vsnprintf
(
buff
,
sizeof
(
buff
)
-
5
,
format
,
args
);
...
...
sql/sql_base.cc
View file @
82257f94
...
...
@@ -2449,8 +2449,8 @@ insert_fields(THD *thd,TABLE_LIST *tables, const char *db_name,
if
(
db_name
&&
lower_case_table_names
)
{
/* convert database to lower case for comparison */
strmake
(
name_buff
,
db_name
,
sizeof
(
name_buff
)
-
1
);
casedn_str
(
name_buff
);
strmake
(
name_buff
,
db_name
,
sizeof
(
name_buff
)
-
1
);
my_casedn_str
(
system_charset_info
,
name_buff
);
db_name
=
name_buff
;
}
...
...
tests/client_test.c
View file @
82257f94
...
...
@@ -10142,7 +10142,7 @@ static void get_options(int argc, char **argv)
int
ho_error
;
if
((
ho_error
=
handle_options
(
&
argc
,
&
argv
,
client_test_long_options
,
get_one_option
)))
get_one_option
,
0
)))
exit
(
ho_error
);
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