Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(972)

Side by Side Diff: Source/modules/webdatabase/sqlite/SQLiteStatement.h

Issue 397733004: Allow assertions to be enabled in Blink Release builds. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed config.gni. Minor cleanups. Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 String getColumnName(int col); 64 String getColumnName(int col);
65 SQLValue getColumnValue(int col); 65 SQLValue getColumnValue(int col);
66 String getColumnText(int col); 66 String getColumnText(int col);
67 int getColumnInt(int col); 67 int getColumnInt(int col);
68 int64_t getColumnInt64(int col); 68 int64_t getColumnInt64(int col);
69 69
70 private: 70 private:
71 SQLiteDatabase& m_database; 71 SQLiteDatabase& m_database;
72 String m_query; 72 String m_query;
73 sqlite3_stmt* m_statement; 73 sqlite3_stmt* m_statement;
74 #ifndef NDEBUG 74 #if ENABLE(ASSERT)
75 bool m_isPrepared; 75 bool m_isPrepared;
76 #endif 76 #endif
77 }; 77 };
78 78
79 } // namespace WebCore 79 } // namespace WebCore
80 80
81 #endif // SQLiteStatement_h 81 #endif // SQLiteStatement_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698