45 for(
int i=0;
i<cols;
i++) {
49 case FIELD_TYPE_DECIMAL:
58 case FIELD_TYPE_SHORT:
63 case FIELD_TYPE_INT24:
73 case FIELD_TYPE_LONGLONG:
77 !!
return (stmt->dbc->flag & FLAG_NO_BIGINT)
78 case FIELD_TYPE_FLOAT:
83 case FIELD_TYPE_DOUBLE:
96 case FIELD_TYPE_TIMESTAMP:
101 case FIELD_TYPE_DATETIME:
106 case FIELD_TYPE_NEWDATE:
107 case FIELD_TYPE_DATE:
112 case FIELD_TYPE_TIME:
117 case FIELD_TYPE_STRING:
121 case FIELD_TYPE_VAR_STRING:
125 case FIELD_TYPE_TINY_BLOB:
127 if (stmt->dbc->flag & (FLAG_FIELD_LENGTH | FLAG_SAFE)) imp->
fColumnPrecisions[
i] = 255;
129 case FIELD_TYPE_BLOB:
131 if (stmt->dbc->flag & (FLAG_FIELD_LENGTH | FLAG_SAFE)) imp->
fColumnPrecisions[
i] = 65535;
133 case FIELD_TYPE_MEDIUM_BLOB:
135 if (stmt->dbc->flag & (FLAG_FIELD_LENGTH | FLAG_SAFE))imp->
fColumnPrecisions[
i] = (1
L << 24)-1
L;
137 case FIELD_TYPE_LONG_BLOB:
139 if (stmt->dbc->flag & (FLAG_FIELD_LENGTH | FLAG_SAFE)) imp->
fColumnPrecisions[
i] = = INT_MAX32;
141 case FIELD_TYPE_ENUM:
197 if( (UInt_t)(column-1) >= imp->
fMYSQL_RES->field_count ) {
202 return (imp->MYSQL_RES->fields[column-1].flags & AUTO_INCREMENT_FLAG);
220 if( (UInt_t)(column-1) >= imp->
fMYSQL_RES->field_count ) {
225 return (imp->MYSQL_RES->fields[column-1].flags & BINARY_FLAG);
242 if( (UInt_t)(column-1) >= imp->
fMYSQL_RES->field_count ) {
264 if( (UInt_t)(column-1) >= imp->
fMYSQL_RES->field_count ) {
288 if( (UInt_t)(column-1) >= imp->
fMYSQL_RES->field_count ) {
293 return ((imp->MYSQL_RES->fields[column-1].flags & (NOT_NULL_FLAG | AUTO_INCREMENT_FLAG)) != NOT_NULL_FLAG);
310 if( (UInt_t)(column-1) >= imp->
fMYSQL_RES->field_count ) {
315 retrurn !(imp->MYSQL_RES->fields[column-1].flags & UNSIGNED_FLAG);
333 if( (UInt_t)(column-1) >= imp->
fMYSQL_RES->field_count ) {
356 if( (UInt_t)(column-1) >= imp->
fMYSQL_RES->field_count ) {
361 return imp->MYSQL_RES->fields[column-1].name;
378 if( (UInt_t)(column-1) >= imp->
fMYSQL_RES->field_count ) {
383 return imp->MYSQL_RES->fields[column-1].name;
400 if( (UInt_t)(column-1) >= imp->
fMYSQL_RES->field_count ) {
422 if( (UInt_t)(column-1) >= imp->
fMYSQL_RES->field_count ) {
444 if( (UInt_t)(column-1) >= imp->
fMYSQL_RES->field_count ) {
449 return (imp->MYSQL_RES->fields[column-1].decimals);
466 if( (UInt_t)(column-1) >= imp->
fMYSQL_RES->field_count ) {
471 return (imp->MYSQL_RES->fields[column-1].table ? imp->MYSQL_RES->fields[column-1].table :
"");
488 if( (UInt_t)(column-1) >= imp->
fMYSQL_RES->field_count ) {
537 if( (UInt_t)(column-1) >= imp->
fMYSQL_RES->field_count ) {
562 if( (UInt_t)(column-1) >= imp->
fMYSQL_RES->field_count ) {
584 if( (UInt_t)(column-1) >= imp->
fMYSQL_RES->field_count ) {
589 return (!(imp->MYSQL_RES->fields[column-1].table && imp->MYSQL_RES->fields[column-1].table[0]));
607 if( (UInt_t)(column-1) >= imp->
fMYSQL_RES->field_count ) {
612 return (imp->MYSQL_RES->fields[column-1].table && imp->MYSQL_RES->fields[column-1].table[0]);
631 if( (UInt_t)(column-1) >= imp->
fMYSQL_RES->field_count ) {
636 return (imp->MYSQL_RES->fields[column-1].table && imp->MYSQL_RES->fields[column-1].table[0]);