Commit Graph

92 Commits (d348c9aa1ea5771b51ad9883420cb41a1fc27b3e)

Author SHA1 Message Date
Tilghman Lesher da0138932e Handle OOM errors more gracefully.
15 years ago
Tilghman Lesher 03e1608c29 Double free crash
15 years ago
Tilghman Lesher 75d8960740 Allow multiple rows to be fetched within the normal mode of operation.
16 years ago
Tilghman Lesher 642bec4d6f AST-2009-005
16 years ago
Matthew Nicholson 728fbf077e Convert func_odbc to use ast_dummy_alloc_channel()
16 years ago
Russell Bryant 0264eef115 Merge the new Channel Event Logging (CEL) subsystem.
16 years ago
Kevin P. Fleming 82fb56886e More 'static' qualifiers on module global variables.
16 years ago
Kevin P. Fleming e6b2e9a750 Const-ify the world (or at least a good part of it)
16 years ago
Tilghman Lesher e346cbb9bc Second result should not contain data from the first result.
16 years ago
Russell Bryant cba19c8a67 Convert the ast_channel data structure over to the astobj2 framework.
16 years ago
Tilghman Lesher 61e241a5d1 If the first column is empty, output a delimiter anyway.
16 years ago
Tilghman Lesher a1f583177e ODBC transaction support
16 years ago
Tilghman Lesher 4ac9617be5 Add assertions in the quest to track down a refcount leak.
16 years ago
Kevin P. Fleming 1c2911f5a1 ast_str_SQLGetData is *not* part of the ast_str API, it's part of the ast_odbc API and just happens to use an ast_str as the buffer; move all of it to res_odbc.c and res_odbc.h, renaming appropriately
17 years ago
Kevin P. Fleming 9a7efae8fd remove the PBX_ODBC logic from the configure script, and add GENERIC_ODCB logic that includes copying the relevant LIB and INCLUDE data from either UnixODBC or iODBC, based on which was found; if both were found, prefer UnixODBC
17 years ago
Tilghman Lesher c8223fc957 Merge ast_str_opaque branch (discontinue usage of ast_str internals)
17 years ago
Eliel C. Sardanons ec28f57c41 Avoid allocating memory for a thread that don't need it. Also, this memory was not being freed until the
17 years ago
Tilghman Lesher 5434edd7ab Two bugs relating to colnames found by Marquis42 on #asterisk-dev
17 years ago
Kevin P. Fleming 448562af93 improve configure script to remember the previous value of each dependency in build_tools/menuselect-deps, so that (once it has been written) menuselect can use this information to warn the user when a previously met dependency is no longer met
17 years ago
Tilghman Lesher c9b2491e40 Should have passed the string pointer, not the ast_str structure.
17 years ago
Kevin P. Fleming bd4eb070f3 bring over all the fixes for the warnings found by gcc 4.3.x from the 1.4 branch, and add the ones needed for all the new code here too
17 years ago
Russell Bryant 5b168ee34b Merge changes from team/group/appdocsxml
17 years ago
Tilghman Lesher 46abb39ca2 Failover for func_odbc, allowing an INSERT query to be performed when the UPDATE query initially
17 years ago
Terry Wilson c74e85a23a allow to compile under --enable-dev-mode (gcc didn't actually complain when I was using ccache...)
17 years ago
Tilghman Lesher a45c3a8729 Simplify some nested functions, as suggested by Russell on -dev
17 years ago
Tilghman Lesher 107d4284ae Added debugging CLI functions
17 years ago
Tilghman Lesher 1f0433327f Permit data fields to contain more than 255 characters.
17 years ago
Tilghman Lesher 8460fd9bfd Only set buf to blank before the goto.
17 years ago
Michiel van Baak 4560279c69 All ODBC parts can now use either unixodbc or iodbc.
17 years ago
Tilghman Lesher 63b165dbb9 Merged revisions 146799 via svnmerge from
17 years ago
Tilghman Lesher cf06228a2f Permit the syntax and synopsis fields to be set (for func_odbc).
17 years ago
Tilghman Lesher 08af5bb312 Create a new config file status, CONFIG_STATUS_FILEINVALID for differentiating
17 years ago
Sean Bright 16f8480882 Continue merging in changes from resolve-shadow-warnings. funcs/ this time.
17 years ago
Tilghman Lesher 475ee479e8 Use a dynamic buffer for rendered SQL, instead of hardcoding 2048 bytes. Also,
17 years ago
Kevin P. Fleming 7df8b8b848 make datastore creation and destruction a generic API since it is not really channel related, and add the ability to add/find/remove datastores to manager sessions
17 years ago
Tilghman Lesher 8718878490 Merged revisions 106552 via svnmerge from
17 years ago
Tilghman Lesher bf92cca5fa Use the readhandle for reads (closes issue #12069)
17 years ago
Tilghman Lesher f124988a35 Convert func_odbc to use SQLExecDirect for speed
18 years ago
Mark Michelson 5107c5474c Change instances of AST_NONSTANDARD_APP_ARGS(foo, bar, ',') to AST_STANDARD_APP_ARGS(foo, bar)
18 years ago
Luigi Rizzo 7e8835e0d7 remove another set of redundant #include "asterisk/options.h"
18 years ago
Luigi Rizzo 9335ace850 another bunch of include removals (errno.h and asterisk/logger.h)
18 years ago
Luigi Rizzo d82a631f9c more removal of duplicate #include lines
18 years ago
Luigi Rizzo fdb7f7ba3d Start untangling header inclusion in a way that does not affect
18 years ago
Steve Murphy 63f2f04cf4 This commits the performance mods that give the priority processing engine in the pbx, a 25-30% speed boost. The two updates used, are, first, to merge the ast_exists_extension() and the ast_spawn_extension() where they are called sequentially in a loop in the code, into a slightly upgraded version of ast_spawn_extension(), with a few extra args; and, second, I modified the substitute_variables_helper_full, so it zeroes out the byte after the evaluated string instead of demanding you pre-zero the buffer; I also went thru the code and removed the code that zeroed this buffer before every call to the substitute_variables_helper_full. The first fix provides about a 9% speedup, and the second the rest. These figures come from the 'PIPS' benchmark I describe in blogs, conf. reports, etc.
18 years ago
Tilghman Lesher 64a0a9aa2c Merged revisions 87262 via svnmerge from
18 years ago
Russell Bryant 5eb7cbef42 use ast_atomic_fetchadd_int for incrementing resultcount
18 years ago
Tilghman Lesher 56b9568164 Don't reload a configuration file if nothing has changed.
18 years ago
Tilghman Lesher 20bbd09de3 Mostly cleanup of documentation to substitute the pipe with the comma, but a few other formatting cleanups, too.
18 years ago
Russell Bryant f8483a0d04 Do a massive conversion for using the ast_verb() macro
18 years ago
Tilghman Lesher 55b1ee298e Merge the dialplan_aesthetics branch. Most of this patch simply converts applications
18 years ago