Einzelnen Beitrag anzeigen

AMaurer

Registriert seit: 14. Dez 2010
34 Beiträge
 
Delphi 11 Alexandria
 
#6

AW: D09 MySQL C-API ExecQry

  Alt 16. Mai 2011, 17:23
Kannst Du mal die Deklaration von PMYSQL_FIELD bzw. TMYSQL_FIELD posten?
Here they are.
Sind direkt aus mysql.pas

TMYSQL_FIELD = TMYSQL_FIELD401;
PMYSQL_FIELD = Pointer;
und bevor Du noch einmal fragen musst ...

TMYSQL_FIELD401 = record
name: PAnsiChar; // Name of column
org_name: PAnsiChar; // Original column name, if an alias
table: PAnsiChar; // Table of column if column was a field
org_table: PAnsiChar; // Org table name if table was an alias
db: PAnsiChar; // Database for table
catalog: PAnsiChar; // Catalog for table
def: PAnsiChar; // Default value (set by mysql_list_fields)
length: longword; // Width of column
max_length: longword; // Max width of selected set
name_length: longword;
org_name_length: longword;
table_length: longword;
org_table_length: longword;
db_length: longword;
catalog_length: longword;
def_length: longword;
flags: longword; // Div flags
decimals: longword; // Number of decimals in field
charsetnr: longword; // Character set
_type: enum_field_types; // Type of field. Se mysql_com.h for types
end;
  Mit Zitat antworten Zitat