projects
/
platform
/
framework
/
native
/
appfw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e008800
)
Support PRAGMA for QueryN()
author
Hyunbin Lee
<hyunbin.lee@samsung.com>
Mon, 1 Jul 2013 00:33:27 +0000
(09:33 +0900)
committer
Hyunbin Lee
<hyunbin.lee@samsung.com>
Mon, 1 Jul 2013 00:33:27 +0000
(09:33 +0900)
Change-Id: I0b736eaced7106095ba13e9d470b64a8132a43ea
Signed-off-by: Hyunbin Lee <hyunbin.lee@samsung.com>
src/io/FIo_DatabaseImpl.cpp
patch
|
blob
|
history
diff --git
a/src/io/FIo_DatabaseImpl.cpp
b/src/io/FIo_DatabaseImpl.cpp
index
4728f7f
..
9237e56
100644
(file)
--- a/
src/io/FIo_DatabaseImpl.cpp
+++ b/
src/io/FIo_DatabaseImpl.cpp
@@
-856,7
+856,7
@@
_DatabaseImpl::QueryN(const String& query)
pQuery++;
}
- if (
strncasecmp(pQuery, "select", 6) != 0
)
+ if (
(strncasecmp(pQuery, "select", 6) != 0) && (strncasecmp(pQuery, "PRAGMA", 6) != 0)
)
{
r = E_INVALID_OPERATION;
goto CATCH;