Subject | Re: [firebird-php] Inserted record cannot be selected |
---|---|
Author | Milan Babuskov |
Post date | 2003-11-17T16:35:43Z |
Almond wrote:
didn't get a new record?
Can you send your stored procedure? Also, how do you call procedure
(with SELECT FROM proc. or EXECUTE proc.).
not the problem.
--
Milan Babuskov
http://fbexport.sourceforge.net
> The select query is following the insert inside php. Except that the insertWhat exactly does "failed" mean? Did you get some error message? Or you
> is through a stored procedure and not a query.
>
> The process is like that.
>
> 1. Insert the record through stored procedure in php.
> 2. The next query to get the new record in php failed.
didn't get a new record?
> 3. I open an isql console and execute the same query used in php.Both queries, I guess?
> 4. isql still didn't get the query result.If I understood you correctly, then this behaviour it really strange.
> 5. Execute 'commit' in isql.
> 6. Re-run the query, the new record appear.
Can you send your stored procedure? Also, how do you call procedure
(with SELECT FROM proc. or EXECUTE proc.).
> I remember there is an auto-commit option, how to set ?AFAIK, It's only for DDL statements, and it is ON by default, so that is
not the problem.
--
Milan Babuskov
http://fbexport.sourceforge.net