OLD | NEW |
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 Loading... |
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 |
OLD | NEW |