Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(25)

Unified Diff: third_party/sqlite_google/preprocessed/sqlite3.h

Issue 924: sqlite3 pragma get/set user_version implemented (Closed) SVN Base: http://google-gears.googlecode.com/svn/contrib/dimitri.glazkov/database2/gears/
Patch Set: Removed starting a transaction, just report SQLITE_MISUSE now. Created 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side by-side-diff with in-line comments
Download patch
Index: third_party/sqlite_google/preprocessed/sqlite3.h
===================================================================
--- third_party/sqlite_google/preprocessed/sqlite3.h (revision 1753)
+++ third_party/sqlite_google/preprocessed/sqlite3.h (working copy)
@@ -2665,29 +2665,25 @@
*/
int sqlite3_blob_write(sqlite3_blob *, const void *z, int n, int iOffset);
-#if !defined(SQLITE_OMIT_PRAGMA) && !defined(SQLITE_OMIT_PARSER)
-
/*
-** CAPI3REF: Read User Version Value
+** Gears-specific: Read User Version Value
**
** This function reads the user version cookie and sets the value of
** user_version to it.
**
** Returns SQLITE_OK on success. Otherwise, an error code is returned
*/
-int sqlite3_pragma_get_user_version(sqlite3*, int *user_version);
+int sqlite3_get_user_version(sqlite3*, int *user_version);
/*
-** CAPI3REF: Write User Version Value
+** Gears-specific: Write User Version Value
**
** This function writes the user version cookie.
**
** returns SQLITE_OK on success. Otherwise, an error code is returned
*/
-int sqlite3_pragma_set_user_version(sqlite3*, int user_version);
+int sqlite3_set_user_version(sqlite3*, int user_version);
-#endif /* SQLITE_OMIT_PRAGMA || SQLITE_OMIT_PARSER */
-
/*
** Undo the hack that converts floating point types to integer for
** builds on processors without floating point support.
« no previous file | third_party/sqlite_google/src/btree.c » ('j')

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld r338