[asterisk-bugs] [Asterisk 0013939]: Didn't call UPDATE or INSERT query to database
Asterisk Bug Tracker
noreply at bugs.digium.com
Fri Nov 21 10:34:04 CST 2008
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=13939
======================================================================
Reported By: nord
Assigned To: Corydon76
======================================================================
Project: Asterisk
Issue ID: 13939
Category: Functions/func_odbc
Reproducibility: have not tried
Severity: minor
Priority: normal
Status: feedback
Asterisk Version: 1.6.1-beta1
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 2008-11-20 06:19 CST
Last Modified: 2008-11-21 10:34 CST
======================================================================
Summary: Didn't call UPDATE or INSERT query to database
Description:
writesql like ignored.
Does not work writesql(no any changes in database).
but if you will write : readsql=UPDATE clients SET name='someone'
You will get FETCH ERROR, but changes will be done.
In any case writesql like ignored.
No error, no warrnings....
======================================================================
----------------------------------------------------------------------
(0095263) Corydon76 (administrator) - 2008-11-21 10:34
http://bugs.digium.com/view.php?id=13939#c95263
----------------------------------------------------------------------
There's where the problem lies. You're not actually calling it in a way
that calls the write portion. The way to do this is to use Set:
Set(UPD_VALUE(111)=)
Issue History
Date Modified Username Field Change
======================================================================
2008-11-21 10:34 Corydon76 Note Added: 0095263
======================================================================
More information about the asterisk-bugs
mailing list