+
+/**
+ * @brief Get the size of the column in bytes
+ * @param p_sql The SQL object
+ * @param p_stmt The sql statement object
+ * @param i_col The column
+ * @return Size of the column in bytes, undefined for invalid columns
+ */
+static int GetColumnSize( sql_t* p_sql, sql_stmt_t* p_stmt, int i_col )
+{
+ assert( p_sql->p_sys->db );
+ assert( p_stmt->p_sqlitestmt );
+ return sqlite3_column_bytes( p_stmt->p_sqlitestmt, i_col );
+}