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
deef4ef2
Commit
deef4ef2
authored
Mar 13, 2007
by
brian@zim.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added comment, and fixed test.
parent
a22406ae
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
6 deletions
+9
-6
client/mysqlslap.c
client/mysqlslap.c
+9
-6
No files found.
client/mysqlslap.c
View file @
deef4ef2
...
...
@@ -1034,10 +1034,13 @@ get_options(int *argc,char ***argv)
exit
(
1
);
}
if
(
auto_generate_sql
&&
((
auto_generate_sql_autoincrement
==
FALSE
)
||
(
auto_generate_sql_guid_primary
==
FALSE
))
&&
auto_generate_sql_type
[
0
]
==
'k'
)
/*
We are testing to make sure that if someone specified a key search
that we actually added a key!
*/
if
(
auto_generate_sql
&&
auto_generate_sql_type
[
0
]
==
'k'
)
if
(
auto_generate_sql_autoincrement
==
FALSE
&&
auto_generate_sql_guid_primary
==
FALSE
)
{
fprintf
(
stderr
,
"%s: Can't perform key test without a primary key!
\n
"
,
...
...
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