diff options
author | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2008-02-28 17:35:24 +0000 |
---|---|---|
committer | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2008-02-28 17:35:24 +0000 |
commit | 81d4cc2c385f9871b1ced93cf3e1e258d56226e2 (patch) | |
tree | 8536c5270224daa9ec055fb72d416e388c8d88d7 | |
parent | 8c485b24395d008179b4766dbf488674ef107203 (diff) |
Moving Setting.sql to standard (if hard to read) escaping syntax
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@2096 4979c152-3d1c-0410-bac9-87ea11338e46
-rw-r--r-- | sql/modules/Settings.sql | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/modules/Settings.sql b/sql/modules/Settings.sql index b9c71dc8..eed89581 100644 --- a/sql/modules/Settings.sql +++ b/sql/modules/Settings.sql @@ -48,7 +48,7 @@ BEGIN WHERE setting_key = in_key FOR UPDATE; - SELECT substring(raw_value from '(\\d*)(\\D*|<\\?lsmb [^<>] \\?>)*$') + SELECT substring(raw_value from '(' || E'\\' || 'd*)(' || E'\\' || 'D*|<' || E'\\' || '?lsmb [^<>] ' || E'\\' || '?>)*$') INTO base_value; IF base_value like '0%' THEN |