Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Re^2: fetchrow_array loop in perl 5.10

by choroba (Archbishop)
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?

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (6)
As of 2020-08-12 07:00 GMT
Find Nodes?
    Voting Booth?
    Which rocket would you take to Mars?

    Results (64 votes). Check out past polls.