diff options
| author | Lars Ingebrigtsen | 2021-12-08 01:07:42 +0100 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2021-12-08 01:07:42 +0100 |
| commit | 7646e57a8657a39e6f006fb04ebebabe44cb87f1 (patch) | |
| tree | 3f109164023a7b96ef2fe10d87662b0bc75299c0 /src | |
| parent | 40ec68bd916b04c0775c2c20ebb8866642ee9690 (diff) | |
| download | emacs-7646e57a8657a39e6f006fb04ebebabe44cb87f1.tar.gz emacs-7646e57a8657a39e6f006fb04ebebabe44cb87f1.zip | |
Identify statement objects
Diffstat (limited to 'src')
| -rw-r--r-- | src/print.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/print.c b/src/print.c index 63c91b7cb39..214f1d12c11 100644 --- a/src/print.c +++ b/src/print.c | |||
| @@ -1880,6 +1880,11 @@ print_vectorlike (Lisp_Object obj, Lisp_Object printcharfun, bool escapeflag, | |||
| 1880 | print_c_string ("#<sqlite ", printcharfun); | 1880 | print_c_string ("#<sqlite ", printcharfun); |
| 1881 | int i = sprintf (buf, "db=%p", XSQLITE (obj)->db); | 1881 | int i = sprintf (buf, "db=%p", XSQLITE (obj)->db); |
| 1882 | strout (buf, i, i, printcharfun); | 1882 | strout (buf, i, i, printcharfun); |
| 1883 | if (XSQLITE (obj)->is_statement) | ||
| 1884 | { | ||
| 1885 | i = sprintf (buf, " stmt=%p", XSQLITE (obj)->stmt); | ||
| 1886 | strout (buf, i, i, printcharfun); | ||
| 1887 | } | ||
| 1883 | i = sprintf (buf, " name=%s", XSQLITE (obj)->name); | 1888 | i = sprintf (buf, " name=%s", XSQLITE (obj)->name); |
| 1884 | strout (buf, i, i, printcharfun); | 1889 | strout (buf, i, i, printcharfun); |
| 1885 | printchar ('>', printcharfun); | 1890 | printchar ('>', printcharfun); |