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
179cd4e0
Commit
179cd4e0
authored
Aug 08, 2007
by
msvensson@pilot.(none)
Browse files
Options
Browse Files
Download
Plain Diff
Merge 192.168.0.7:mysql/mysql-5.0-maint
into pilot.(none):/data/msvensson/mysql/mysql-5.0-maint
parents
a2f59d74
6d2f738f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
client/mysqltest.c
client/mysqltest.c
+6
-2
mysql-test/t/mysqltest.test
mysql-test/t/mysqltest.test
+1
-1
No files found.
client/mysqltest.c
View file @
179cd4e0
...
...
@@ -4820,9 +4820,13 @@ int read_command(struct st_command** command_ptr)
if
(
!
(
command
->
query_buf
=
command
->
query
=
my_strdup
(
p
,
MYF
(
MY_WME
))))
die
(
"Out of memory"
);
/* Calculate first word and first argument */
for
(
p
=
command
->
query
;
*
p
&&
!
my_isspace
(
charset_info
,
*
p
)
;
p
++
)
;
/* Calculate first word length(the command), terminated by space or ( */
p
=
command
->
query
;
while
(
*
p
&&
!
my_isspace
(
charset_info
,
*
p
)
&&
*
p
!=
'('
)
p
++
;
command
->
first_word_len
=
(
uint
)
(
p
-
command
->
query
);
DBUG_PRINT
(
"info"
,
(
"first_word: %.*s"
,
command
->
first_word_len
,
command
->
query
));
/* Skip spaces between command and first argument */
while
(
*
p
&&
my_isspace
(
charset_info
,
*
p
))
...
...
mysql-test/t/mysqltest.test
View file @
179cd4e0
...
...
@@ -974,7 +974,7 @@ if (!$counter)
echo
Counter
is
not
0
,
(
counter
=
10
);
}
let
$counter
=
0
;
if
(
$counter
)
if
(
$counter
)
{
echo
Counter
is
greater
than
0
,
(
counter
=
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