projects
/
platform
/
framework
/
native
/
appfw.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Refactor AppRegistry to support multi-thread concurrency
[platform/framework/native/appfw.git]
/
src
/
io
/
FIo_DatabaseImpl.cpp
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;