mirror of
https://github.com/DBD-SQLite/DBD-SQLite
synced 2025-06-07 14:19:10 -04:00
VC6 fix part2
This commit is contained in:
parent
7fd6c52493
commit
efc60c0f19
1 changed files with 2 additions and 2 deletions
4
dbdimp.c
4
dbdimp.c
|
@ -1440,8 +1440,8 @@ HV* sqlite_db_table_column_metadata(pTHX_ SV *dbh, SV *dbname, SV *tablename, SV
|
|||
#endif
|
||||
|
||||
if (rc == SQLITE_OK) {
|
||||
hv_store(metadata, "data_type", 9, newSVpv(datatype, 0), 0);
|
||||
hv_store(metadata, "collation_name", 14, newSVpv(collseq, 0), 0);
|
||||
hv_store(metadata, "data_type", 9, datatype ? newSVpv(datatype, 0) : newSV(0), 0);
|
||||
hv_store(metadata, "collation_name", 14, collseq ? newSVpv(collseq, 0) : newSV(0), 0);
|
||||
hv_store(metadata, "not_null", 8, newSViv(notnull), 0);
|
||||
hv_store(metadata, "primary", 7, newSViv(primary), 0);
|
||||
hv_store(metadata, "auto_increment", 14, newSViv(autoinc), 0);
|
||||
|
|
Loading…
Add table
Reference in a new issue