Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^2: fetchrow_array loop in perl 5.10

by choroba (Bishop)
on Sep 18, 2014 at 10:39 UTC ( #1101030=note: print w/replies, xml ) Need Help??


in reply to Re: fetchrow_array loop in perl 5.10
in thread fetchrow_array loop in perl 5.10

first fetch all items into an array and then execute the insert for each element of that array
Another option might be to keep two database handles, and run the search in one, and the insert in the second one.
لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

Replies are listed 'Best First'.
Re^3: fetchrow_array loop in perl 5.10
by Anonymous Monk on Sep 18, 2014 at 13:43 UTC
    yep, we already found a workaround for it, but we wanted to find a centralized fix for it, this is an existing code (thousand lines of codes are coded this way) and was working in perl 5.8

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1101030]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2019-07-17 19:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?