http://qs1969.pair.com?node_id=11131428


in reply to Re^2: fetchall_arrayref hangs with placeholders query with no results
in thread fetchall_arrayref hangs with placeholders query with no results

I know.

PostgreSQL, for instance, knows how to since time immemorial (and certainly all maintained versions).

SQL Server too (I checked all the same on sqlfiddle).

In fact, I was writing a post to Marshall containing pretty much everything that you said...

Anyhow, it seems the OP has lost interest, or maybe solved his problem.

Replies are listed 'Best First'.
Re^4: fetchall_arrayref hangs with placeholders query with no results
by TieUpYourCamel (Scribe) on Apr 21, 2021 at 15:21 UTC
    Still interested, just busy. My problem isn't solved, but I have an okay workaround for now: I'm not using placeholders in any of my queries. The other things that cause the hang (specifying a TDS level and a query that produces no results) aren't really an option to not do. Connecting with no TDS level doesn't work on my production machine.