src/cats/sql.c
int db_int64_handler(void *ctx, int num_fields, char **row) 
{ 
   db_int64_ctx *lctx = (db_int64_ctx *)ctx; 
 
   if (row[0]) { 
      lctx->value = str_to_int64(row[0]); 
      lctx->count++; 
   } 
   return 0; 
}
/* 
 * Called here to retrieve a 32/64 bit integer from the database. 
 *   The returned integer will be extended to 64 bit. 
 */
Called here to retrieve a 32/64 bit integer from the database.
The returned integer will be extended to 64 bit.
Called here to retrieve a 32 / 64 bit integer from the database . The returned integer will be extended to 64 bit .
int db_int64_handler(void *ctx, int num_fields, char **row) 
{ 
   db_int64_ctx *lctx = (db_int64_ctx *)ctx; 
   if (row[0]) { 
      lctx->value = str_to_int64(row[0]); 
      lctx->count++; 
   } 
   return 0; 
}
int db_int64_handler ( void * ctx , int num_fields , char * * row ) { db_int64_ctx * lctx = ( db_int64_ctx * ) ctx ; if ( row [ 0 ] ) { lctx -> value = str_to_int64 ( row [ 0 ] ) ; lctx -> count ++ ; } return 0 ; }
Called here to retrieve a 32/64 bit integer from the database.
Called here to retrieve a 32 / 64 bit integer from the database .