OSDN Git Service

[HACKERS] Proposed patch for ODBC driver w/ C-a-n-c-e-l
authorHiroshi Inoue <inoue@tpf.co.jp>
Tue, 2 Apr 2002 10:50:50 +0000 (10:50 +0000)
committerHiroshi Inoue <inoue@tpf.co.jp>
Tue, 2 Apr 2002 10:50:50 +0000 (10:50 +0000)
commitf8da3990b5437e47b7296a6770a3efd215b326d0
tree38b031307f4048be70099ad6daf4c8a901c7a177
parentc26a44db08677bccc04426b42973bb372e6e3046
[HACKERS] Proposed patch for ODBC driver w/ C-a-n-c-e-l
    From: Bradley McLean <brad@bradm.net>

Patch against 7,2 submitted for comment.

This seems to work just fine; Now, when our users submit a 2 hour
query with four million row sorts by accident, then cancel it 30 seconds
later, it doesn't bog down the server ...
12 files changed:
src/interfaces/odbc/connection.c
src/interfaces/odbc/connection.h
src/interfaces/odbc/descriptor.h
src/interfaces/odbc/execute.c
src/interfaces/odbc/info.c
src/interfaces/odbc/info30.c
src/interfaces/odbc/misc.c
src/interfaces/odbc/misc.h
src/interfaces/odbc/parse.c
src/interfaces/odbc/psqlodbc.h
src/interfaces/odbc/socket.c
src/interfaces/odbc/socket.h