| 95 | } |
| 96 | |
| 97 | static inline bool pure_is_sqlnull(pure_expr *x) |
| 98 | { |
| 99 | int32_t sym; |
| 100 | if (sqlnull_sym == 0) sqlnull_sym = pure_sym("sql3::SQLNULL"); |
| 101 | return pure_is_symbol(x, &sym) && sym == sqlnull_sym; |
| 102 | } |
| 103 | |
| 104 | /* Convert an SQLite value to a corresponding Pure expression. This provides |
| 105 | interfaces for the sqlite3_column_value family and the sqlite3_value |
no test coverage detected