Revert "Support PRAGMA for QueryN()"
authorKi-wook <kiwook.hong@samsung.com>
Mon, 1 Jul 2013 06:44:07 +0000 (15:44 +0900)
committerKi-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

index 9237e56..4728f7f 100644 (file)
@@ -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;