Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
9d0d85dc
Commit
9d0d85dc
authored
Mar 25, 2007
by
Leigh B. Stoller
Browse files
Allow for AUTO_INCREMEN= in the create statement
parent
61f8f949
Changes
1
Hide whitespace changes
Inline
Side-by-side
utils/schemadiff
View file @
9d0d85dc
...
...
@@ -2,7 +2,7 @@
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2002, 2006 University of Utah and the Flux Group.
# Copyright (c) 2000-2002, 2006
, 2007
University of Utah and the Flux Group.
# All rights reserved.
#
...
...
@@ -181,9 +181,9 @@ sub read_schema($) {
# If we are in a table creation statement, we need to find out
# what this line is trying to do...
#
if
(
/^\) TYPE\s*=\s*(\w+);/
||
/^\) ENGINE\s*=\s*(\w+)\s*DEFAULT\s*CHARSET=(\w+);/
)
{
/^\) ENGINE\s*=\s*(\w+)\s*DEFAULT\s*CHARSET=(\w+);/
||
/^\) ENGINE\s*=\s*(\w+)\s*AUTO_INCREMENT=\d*\s*DEFAULT\s*CHARSET=(\w+);/
)
{
# The end of the table definition
my
$type
=
$
1
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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