mirror of
https://github.com/DBD-SQLite/DBD-SQLite
synced 2025-06-08 14:48:32 -04:00
Indenting comments
This commit is contained in:
parent
40d6ff35c1
commit
f7184adfcb
1 changed files with 3 additions and 5 deletions
8
dbdimp.c
8
dbdimp.c
|
@ -724,11 +724,11 @@ sqlite_st_FETCH_attrib (SV *sth, imp_sth_t *imp_sth, SV *keysv)
|
|||
|
||||
if (strEQ(key, "NAME")) {
|
||||
AV *av = newAV();
|
||||
/* warn("Fetch NAME fields: %d\n", i); */
|
||||
/* warn("Fetch NAME fields: %d\n", i); */
|
||||
av_extend(av, i);
|
||||
retsv = sv_2mortal(newRV(sv_2mortal((SV*)av)));
|
||||
for (n = 0; n < i; n++) {
|
||||
/* warn("Fetch col name %d\n", n); */
|
||||
/* warn("Fetch col name %d\n", n); */
|
||||
const char *fieldname = sqlite3_column_name(imp_sth->stmt, n);
|
||||
if (fieldname) {
|
||||
/* warn("Name [%d]: %s\n", n, fieldname); */
|
||||
|
@ -786,7 +786,7 @@ sqlite_db_set_result(sqlite3_context *context, SV *result, int is_error )
|
|||
return;
|
||||
}
|
||||
|
||||
/* warn("result: %s\n", SvPV_nolen(result)); */
|
||||
/* warn("result: %s\n", SvPV_nolen(result)); */
|
||||
if ( !SvOK(result) ) {
|
||||
sqlite3_result_null( context );
|
||||
} else if( SvIOK_UV(result) ) {
|
||||
|
@ -1251,6 +1251,4 @@ sqlite3_db_progress_handler( SV *dbh, int n_opcodes, SV *handler )
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* end */
|
||||
|
|
Loading…
Add table
Reference in a new issue