diff options
author | Jamis Buck <jamis@37signals.com> | 2008-05-30 09:46:35 -0600 |
---|---|---|
committer | Jamis Buck <jamis@37signals.com> | 2008-05-30 09:46:35 -0600 |
commit | 95e1681f488e8dca579544f3a72c5e2e87a0a398 (patch) | |
tree | 9ce538e7e1cf85539d84443a09cbc89c4055d6ac | |
parent | 5df129b18892d720752e84d547cf339e29bcf8ea (diff) | |
download | third_party-sqlite3-ruby-95e1681f488e8dca579544f3a72c5e2e87a0a398.tar.gz third_party-sqlite3-ruby-95e1681f488e8dca579544f3a72c5e2e87a0a398.tar.xz third_party-sqlite3-ruby-95e1681f488e8dca579544f3a72c5e2e87a0a398.zip |
unquote double-quoted values, too.
Contributed by Ćukasz Dargiewicz <lukasz.dargiewicz@gmail.com>
-rw-r--r-- | lib/sqlite3/pragmas.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/sqlite3/pragmas.rb b/lib/sqlite3/pragmas.rb index 5c6177b..52bda1a 100644 --- a/lib/sqlite3/pragmas.rb +++ b/lib/sqlite3/pragmas.rb @@ -262,6 +262,8 @@ module SQLite3 hash["dflt_value"] = nil when /^'(.*)'$/ hash["dflt_value"] = $1.gsub(/''/, "'") + when /^"(.*)"$/ + hash["dflt_value"] = $1.gsub(/""/, '"') end end end |