Skip to content

Commit eb2bd34

Browse files
committed
Update the sed filter for creating initial DB schema.
Updates filter in command mentioned in comment to better handle new mysqldump output format and changes from SHA1: 81f3a7e
1 parent 0a5cb14 commit eb2bd34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mythtv/libs/libmythtv/dbcheck.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5570,7 +5570,7 @@ NULL
55705570
*
55715571
* mysqldump --skip-comments --skip-opt --compact --skip-quote-names \
55725572
* --create-options --ignore-table=mythconverg.schemalock mythconverg | \
5573-
* sed '/^SET.*;$/d;/^\/\*!40101.*$/d;s/^.*[^;]$/"&"/;s/^);$/");",/'
5573+
* sed '/^\(SET\|INS\).*;$/d;/^\/\*!40101.*$/d;s/^.*[^;]$/"&"/;s/^).*;$/"&",/'
55745574
*
55755575
* command to get the initial data:
55765576
*

0 commit comments

Comments
 (0)