| 49 | #define INT4_STR_SIZE 20 // 18446744073709551615 |
| 50 | |
| 51 | void sqlite_cursor::add_column_value(long long n) |
| 52 | { |
| 53 | char* buf = (char*) dbuf_->dbuf_alloc(INT4_STR_SIZE + 1); |
| 54 | safe_snprintf(buf, INT4_STR_SIZE + 1, "%lld", n); |
| 55 | row_->push_back(buf, strlen(buf)); |
| 56 | } |
| 57 | |
| 58 | void sqlite_cursor::add_column_value(double n) |
| 59 | { |
no test coverage detected