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:
42e4234
)
Revert "Support PRAGMA for QueryN()"
author
Ki-wook
<kiwook.hong@samsung.com>
Mon, 1 Jul 2013 06:44:07 +0000
(15:44 +0900)
committer
Ki-wook
<kiwook.hong@samsung.com>
Mon, 1 Jul 2013 06:44:07 +0000
(15:44 +0900)
This reverts commit
44dc9f8378026fe05ec6136400fbf77bdca2880b
.
src/io/FIo_DatabaseImpl.cpp
patch
|
blob
|
history
diff --git
a/src/io/FIo_DatabaseImpl.cpp
b/src/io/FIo_DatabaseImpl.cpp
index
9237e56
..
4728f7f
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) && (strncasecmp(pQuery, "PRAGMA", 6) != 0)
)
+ if (
strncasecmp(pQuery, "select", 6) != 0
)
{
r = E_INVALID_OPERATION;
goto CATCH;