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
6cf49ef0
Commit
6cf49ef0
authored
Mar 01, 2007
by
malff/marcsql@weblab.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Manual merge
parent
348cf79b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
sql/item_func.cc
sql/item_func.cc
+4
-0
No files found.
sql/item_func.cc
View file @
6cf49ef0
...
@@ -3447,6 +3447,7 @@ longlong Item_func_benchmark::val_int()
...
@@ -3447,6 +3447,7 @@ longlong Item_func_benchmark::val_int()
DBUG_ASSERT
(
fixed
==
1
);
DBUG_ASSERT
(
fixed
==
1
);
char
buff
[
MAX_FIELD_WIDTH
];
char
buff
[
MAX_FIELD_WIDTH
];
String
tmp
(
buff
,
sizeof
(
buff
),
&
my_charset_bin
);
String
tmp
(
buff
,
sizeof
(
buff
),
&
my_charset_bin
);
my_decimal
tmp_decimal
;
THD
*
thd
=
current_thd
;
THD
*
thd
=
current_thd
;
ulong
loop_count
;
ulong
loop_count
;
...
@@ -3471,6 +3472,9 @@ longlong Item_func_benchmark::val_int()
...
@@ -3471,6 +3472,9 @@ longlong Item_func_benchmark::val_int()
case
STRING_RESULT
:
case
STRING_RESULT
:
(
void
)
args
[
1
]
->
val_str
(
&
tmp
);
(
void
)
args
[
1
]
->
val_str
(
&
tmp
);
break
;
break
;
case
DECIMAL_RESULT
:
(
void
)
args
[
1
]
->
val_decimal
(
&
tmp_decimal
);
break
;
case
ROW_RESULT
:
case
ROW_RESULT
:
default:
default:
// This case should never be chosen
// This case should never be chosen
...
...
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