29 return &column->
value;
107 column->
scale = scale;
491 new->scale = src->
scale;
492 new->select = src->
select;
494 new->update = src->
update;
void db_set_column_sqltype(dbColumn *column, int sqltype)
Define column sqltype for column.
const char * db_get_column_description(dbColumn *column)
Returns column description for given column.
void db_set_column_precision(dbColumn *column, int precision)
Set column precision.
const char * db_get_column_name(dbColumn *column)
Returns column name for given column.
void db_copy_value(dbValue *, dbValue *)
Copy value.
void db_init_string(dbString *)
Initialize dbString.
void db_set_column_select_priv_granted(dbColumn *column)
Set select privileges to be granted.
void db_set_column_select_priv_not_granted(dbColumn *column)
Unset select privileges.
void db_set_column_has_defined_default_value(dbColumn *column)
Set default value identificator.
void db_zero(void *, int)
Zero allocated space.
int db_get_column_update_priv(dbColumn *column)
Get update privileges.
int db_get_column_precision(dbColumn *column)
Get column precision.
void db_init_column(dbColumn *column)
Initialize dbColumn.
char * db_get_string(const dbString *)
Get string.
dbColumn * db_copy_column(dbColumn *dest, dbColumn *src)
Copy a db column from source to destination.
int db_copy_string(dbString *, const dbString *)
Copy dbString.
int db_get_column_select_priv(dbColumn *column)
Get select privileges.
int db_get_column_length(dbColumn *column)
Get column's length.
dbValue * db_get_column_default_value(dbColumn *column)
Returns column default value for given column structure.
void db_unset_column_use_default_value(dbColumn *column)
Unset default value to be used.
int db_set_string(dbString *, const char *)
Inserts string to dbString (enlarge string)
int db_get_column_scale(dbColumn *column)
Get column scale.
int db_set_column_name(dbColumn *column, const char *name)
Set column name.
int db_set_column_description(dbColumn *column, const char *description)
Set column description.
void db_unset_column_null_allowed(dbColumn *column)
Unset null value to be allowed.
int db_test_column_use_default_value(dbColumn *column)
Checks if default value is used.
void db_set_column_use_default_value(dbColumn *column)
Set default value to be used.
int db_get_column_sqltype(dbColumn *column)
Returns column sqltype for column.
void db_set_column_length(dbColumn *column, int length)
Set column's length.
dbValue * db_get_column_value(dbColumn *column)
Returns column value for given column structure.
int db_test_column_has_default_value(dbColumn *column)
Check if column has defined default value.
void * db_calloc(int, int)
Allocate memory.
void db_set_column_host_type(dbColumn *column, int type)
Set column host data type.
int db_test_column_has_defined_default_value(dbColumn *column)
Check if column has defined default value.
void db_set_column_scale(dbColumn *column, int scale)
Set column scale.
void db_set_column_update_priv_granted(dbColumn *column)
Set update privileges to be granted.
int db_test_column_has_undefined_default_value(dbColumn *column)
Check if column has defined default value.
void db_unset_column_has_default_value(dbColumn *column)
Unset default value identificator.
void db_set_column_update_priv_not_granted(dbColumn *column)
Unset update privileges.
int db_test_column_null_allowed(dbColumn *column)
Checks if null value is allowed.
void db_set_column_null_allowed(dbColumn *column)
Set null value to be allowed.
void db_set_column_has_undefined_default_value(dbColumn *column)
Unset default value identificator.
int db_get_column_host_type(dbColumn *column)
Get column host type.
void db_free_column(dbColumn *column)
Frees column structure.
void db_free_string(dbString *)
Free allocated space for dbString.