| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |
|
|
| |
sqlite_query_mapped(...)
|
| | |
|
| | |
|
| |
|
|
| |
possibility for table aliases
|
| |
|
|
|
| |
And added support for setting fields to NULL if flagged via
the field type value ft_SETNULL
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
sqlite_query_mapped(...) function
The new sqlite_query_mapped(...) function will now consider the field
type when formatting the data values for SQLite. In addition reserved
words on the DATETIME data type will be preserved without quote
encapsulation.
Improved the sqlite_query_mapped(...) to also handle UPDATE, INSERT and
DELETE in addition to SELECT. The function now needs two eDBfieldMap
mappings. The first one will contain update/insert values, while the
last one defines search criteria.
|
| |
|
|
|
|
|
| |
This functions does almost the same as sqlite_query(...), it takes an
SQL statement without the WHERE clause. The where clause is built up
based on the fields sent in via the eDBfieldMap struct, containing the
fields and values to look for.
|
| |
|
|
| |
context type.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
is sent to make.
Since several parts of the code where LOG_DEBUG was used with eurephia_log(...)
contains security sensitive information (like logging password retrieved with
get_env(...)), all debug logging is now done via the DEBUG macro.
This macro will not produce any security relevant eurephia_log(...) statements
unless the source is compiled with -DENABLE_DEBUG. This is activated via
make by adding DEBUG=1 before the make targets. When not enabled, the
binaries will not do any debug logging at all.
|
| | |
|
| |
|
|
| |
of memwatch and sha1
|
| |
|