1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-07 02:42:48 +03:00

Testing enhancements on Windows.

FossilOrigin-Name: 9cc70eee2e365dd390210f436b893b9d80a19b04
This commit is contained in:
mistachkin
2015-03-31 17:45:44 +00:00
parent 8237f6d180
commit eb48b062a1
7 changed files with 28 additions and 20 deletions

View File

@@ -1194,7 +1194,8 @@ void sqlite3RollbackAll(sqlite3 *db, int tripCode){
** Return a static string containing the name corresponding to the error code
** specified in the argument.
*/
#if (defined(SQLITE_DEBUG) && SQLITE_OS_WIN) || defined(SQLITE_TEST)
#if defined(SQLITE_DEBUG) && \
(defined(SQLITE_TEST) || defined(SQLITE_FORCE_OS_TRACE))
const char *sqlite3ErrName(int rc){
const char *zName = 0;
int i, origRc = rc;