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
fc0d550b
Commit
fc0d550b
authored
Jan 02, 2005
by
paul@snake-hub.snake.net
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
set_var.cc:
Silence compiler warning.
parent
3d50cc04
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
BitKeeper/etc/logging_ok
BitKeeper/etc/logging_ok
+1
-0
sql/set_var.cc
sql/set_var.cc
+1
-1
No files found.
BitKeeper/etc/logging_ok
View file @
fc0d550b
...
@@ -164,6 +164,7 @@ paul@frost.snake.net
...
@@ -164,6 +164,7 @@ paul@frost.snake.net
paul@ice.local
paul@ice.local
paul@ice.snake.net
paul@ice.snake.net
paul@kite-hub.kitebird.com
paul@kite-hub.kitebird.com
paul@snake-hub.snake.net
paul@teton.kitebird.com
paul@teton.kitebird.com
pekka@mysql.com
pekka@mysql.com
pem@mysql.com
pem@mysql.com
...
...
sql/set_var.cc
View file @
fc0d550b
...
@@ -2948,7 +2948,7 @@ bool sys_var_thd_storage_engine::check(THD *thd, set_var *var)
...
@@ -2948,7 +2948,7 @@ bool sys_var_thd_storage_engine::check(THD *thd, set_var *var)
enum
db_type
db_type
;
enum
db_type
db_type
;
if
(
!
(
res
=
var
->
value
->
val_str
(
&
str
))
||
if
(
!
(
res
=
var
->
value
->
val_str
(
&
str
))
||
!
(
var
->
save_result
.
ulong_value
=
!
(
var
->
save_result
.
ulong_value
=
(
ulong
)
db_type
=
ha_resolve_by_name
(
res
->
ptr
(),
res
->
length
(
)))
||
(
ulong
)
(
db_type
=
ha_resolve_by_name
(
res
->
ptr
(),
res
->
length
()
)))
||
ha_checktype
(
db_type
)
!=
db_type
)
ha_checktype
(
db_type
)
!=
db_type
)
{
{
value
=
res
?
res
->
c_ptr
()
:
"NULL"
;
value
=
res
?
res
->
c_ptr
()
:
"NULL"
;
...
...
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