| Commit | Date | |
|---|---|---|
|
[r13115]
(HEAD)
by
mikeaubury
odbc: stop redefining SQLLEN to a 32 bit type sql.c opened with #ifndef SQLLEN meant as a fallback for header sets that predate SQLLEN. SQLLEN is a That produced 20 errors under gcc 14 (SQLBindCol argument 6, SQLRowCount The fallback now keys off A4GL_ODBC_HEADERS_LACK_SQLLEN, set only by the It moved into a4gl_lib_sql_odbc_int.h because the prototypes there use The declarations that feed ODBC out parameters are corrected to Verified by compiling sql.c against all three header sets: unixODBC |
2026-09-14 18:44:00 | Tree |
|
[r13114]
by
mikeaubury
tools/misql: link with 4glpc, not 4glc misql compiles each module to a .ao and then links the set of them. Both Driving 4glc directly to link .ao files leaves the library link line off, Both rules now use "aubit 4glpc", the documented way to drive the Masked on any tree built before now, because a stale misql.4ae satisfies FGLPCEXEC itself is left alone: other makefiles use it and work, so what |
2026-09-14 18:38:30 | Tree |
|
[r13113]
by
mikeaubury
Fix tools/adbload under gcc 14 Three errors, all of them things gcc used to warn about and now rejects 1. A4GL_init_session, A4GL_init_session_with_sqltype and A4GL_set_conn The C generator emits calls to all three (compile_c_sql.c, for A4GL_close_session and A4GL_set_dialect are left where they are - 2. adbload.4gl assigned a FILE * straight into a 4GL INTEGER inside a Verified by deleting every generated .4ae/.c under tools and compilers - |
2026-09-14 18:34:00 | Tree |
|
[r13112]
by
mikeaubury
Stop writing database credentials into aubitrc A4GL_SQLUID and A4GL_SQLPWD are no longer written to aubitrc, and A database password does not belong in a file that ships with the This also removes the last way for the placeholder bug to recur: until Partly reverts the configure side of r13108. The other substitutions it Note for upgrades: an aubitrc already on disk keeps whatever it has, and configure regenerated with autoreconf. |
2026-09-11 08:57:22 | Tree |
|
[r13111]
by
mikeaubury
Makefile: don't ship the packaging machine's settings in a source tarball etc/aubitrc and friends are generated by configure and are not in SVN, AUBITDIR=/home/aubit4gl/aubit4glsrc so a tarball user starts out pointed at directories that exist only on tar now depends on clean.settings, which removes exactly those four A source tarball therefore no longer contains etc/aubitrc until |
2026-09-11 07:21:49 | Tree |
|
[r13110]
by
mikeaubury
esqlc: say why strip() leaves the first character alone Comment only, no change in behaviour. strip() stops at str[0] rather than clearing it, which reads like an Nothing said so, and the bound is an easy thing to "tidy up" while |
2026-09-10 18:49:16 | Tree |
|
[r13109]
by
mikeaubury
esqlc: strip the padding from INT8/SERIAL8 values on UNLOAD ifx_int8toasc() writes the digits left justified and blank pads out to 0 | rather than 0| The values themselves were right, but the files do not match what Now calls strip() on the buffer first, which is exactly what the Verified by unloading INT8 and SERIAL8 columns and loading the file |
2026-09-10 18:38:40 | Tree |
|
[r13108]
by
mikeaubury
configure: substitute SQLUID/SQLPWD again, and the other aubitrc placeholders etc/aubitrc.in carries @SQLUID@ and @SQLPWD@ for A4GL_SQLUID and The runtime then read them as credentials and presented them to the -951 Incorrect password or user @SQLUID@ is not known on the A machine set up before the rewrite keeps working, because the Restores both options, defaulting to empty. Empty is the right Four other placeholders were leaking the same way and are now configure regenerated with autoreconf. |
2026-09-10 18:33:26 | Tree |
|
[r13107]
by
mikeaubury
esqlc: INT8 host variables on older CSDK, and safer error message handling Four fixes in the Informix driver. 1. Build failure on a CSDK that does not know BIGINT. Three host variables were declared "bigint", a type that only exists They are now guarded the same way, falling back to "int8", which The two branches deliberately use different variable names. esqlc 2. Error text reaching the caller with its parameter unsubstituted. get_sqlerrm() relied on GET DIAGNOSTICS to fill in the message 3. Message templates used as printf format strings. get_errmsg() handed the template from rgetmsg() to sprintf with a Both now go through one helper that substitutes sqlca.sqlerrm 4. An unset SQLPWD became an empty password. acl_getenv() returns an empty string for a variable that is not set, Also adds debug to the connect path: the database, the user name and |
2026-09-10 18:33:08 | Tree |
|
[r13106]
by
mikeaubury
4glc: emit INT8 rather than the token name for BIGINT/INT8 columns The Informix sqlpack rendered an INTEGER8 column type as the literal The server rejected the resulting DDL with -9628 "Type (integer8) not Now emits INT8: accepted by every Informix version where the type |
2026-09-10 18:32:46 | Tree |