From: Phil D. <ph...@lo...> - 2013-10-11 08:19:32
|
The rationale for this was because to achieve the same function with postgres needed these parameters. ExsonQu <hex...@gm...> wrote: >*Dear all:* > > I've noticed that there is one function DB_Last_Insert_ID created >in ConnectDB_mysqli.inc. I'm wondering: > > 1. Why there are 3 parameters set for this function and there is >none used in it's code block? > 2. Why we record the last_insert_id into the $_SESSION? Is there >no efficiency lost and no chance to make mistake? Why not wrap the >original >mysqli_last_insert_id() directly? > > Any comments are highly appreciated! > > Thanks and best regards! > > Exson > > > >-- >View this message in context: >http://weberp-accounting.1478800.n4.nabble.com/Is-the-DB-Last-Insert-ID-function-right-tp4656803.html >Sent from the web-ERP-developers mailing list archive at Nabble.com. > >------------------------------------------------------------------------------ >October Webinars: Code for Performance >Free Intel webinars can help you accelerate application performance. >Explore tips for MPI, OpenMP, advanced profiling, and more. Get the >most from >the latest Intel processors and coprocessors. See abstracts and >register > >http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk >_______________________________________________ >Web-erp-developers mailing list >Web...@li... >https://lists.sourceforge.net/lists/listinfo/web-erp-developers -- Sent from my Android device with K-9 Mail. Please excuse my brevity. |