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
ISC Open Source Projects
Kea
Commits
99d9be31
Commit
99d9be31
authored
Jun 06, 2013
by
Mukund Sivaraman
Browse files
[2968] Fix canonical schema generation to work with SQLite 3.7.17 output
parent
2fc57fd6
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/bin/dbutil/tests/dbutil_test.sh.in
View file @
99d9be31
...
...
@@ -141,6 +141,7 @@ get_schema() {
copy_file
$1
$db1
db_schema
=
`
sqlite3
$db1
'.schema'
|
\
sed
-e
':a'
-e
'N'
-e
'$!ba'
-e
's/,[\ ]*\n/, /g'
|
sort
|
\
awk
'{line = line $0} END {print line}'
|
\
sed
-e
's/ //g'
|
\
tr
[
:upper:]
[
:lower:]
`
...
...
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