mirror of
https://github.com/DBD-SQLite/DBD-SQLite
synced 2025-06-07 14:19:10 -04:00
THX
This commit is contained in:
parent
abc241d711
commit
b6a4eb43a7
1 changed files with 2 additions and 2 deletions
4
dbdimp.c
4
dbdimp.c
|
@ -1928,7 +1928,7 @@ sqlite_db_load_extension(pTHX_ SV *dbh, const char *file, const char *proc)
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
SV* _lc(SV* sv) {
|
SV* _lc(pTHX_ SV* sv) {
|
||||||
int i, l;
|
int i, l;
|
||||||
char* pv;
|
char* pv;
|
||||||
if (SvPOK(sv)) {
|
if (SvPOK(sv)) {
|
||||||
|
@ -1979,7 +1979,7 @@ sqlite_db_table_column_metadata(pTHX_ SV *dbh, SV *dbname, SV *tablename, SV *co
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (rc == SQLITE_OK) {
|
if (rc == SQLITE_OK) {
|
||||||
hv_stores(metadata, "data_type", datatype ? _lc(newSVpv(datatype, 0)) : newSV(0));
|
hv_stores(metadata, "data_type", datatype ? _lc(aTHX_ newSVpv(datatype, 0)) : newSV(0));
|
||||||
hv_stores(metadata, "collation_name", collseq ? newSVpv(collseq, 0) : newSV(0));
|
hv_stores(metadata, "collation_name", collseq ? newSVpv(collseq, 0) : newSV(0));
|
||||||
hv_stores(metadata, "not_null", newSViv(notnull));
|
hv_stores(metadata, "not_null", newSViv(notnull));
|
||||||
hv_stores(metadata, "primary", newSViv(primary));
|
hv_stores(metadata, "primary", newSViv(primary));
|
||||||
|
|
Loading…
Add table
Reference in a new issue