From a8c22829d8e8845cd4ddf4ef8b61a1ed79edfffc Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Mon, 12 Mar 2018 22:57:42 +0100 Subject: Imported from the SVN repository http://svn.wolffelaar.nl/wsvn/phpbb/branches/jessie/ Signed-off-by: Olivier Gayot --- debian/sqliteconv2.pl | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 debian/sqliteconv2.pl (limited to 'debian/sqliteconv2.pl') diff --git a/debian/sqliteconv2.pl b/debian/sqliteconv2.pl new file mode 100755 index 0000000..34b2fa2 --- /dev/null +++ b/debian/sqliteconv2.pl @@ -0,0 +1,8 @@ +#!/usr/bin/perl +# converts extended SQL inserts to single statements +if (/^(INSERT.+?VALUES.*?)\(/) { + $a=$1; + s/\\'\''/'\'\''/g; + s/\\n/\n/g; + s/\),\(/\);\n$a\(/g; +} -- cgit v1.2.3