[pgsqlclient-checkins] pgsqlclient_10/source/PostgreSql/Data/Protocol PgStatement.cs,1.7,1.8
Status: Inactive
Brought to you by:
carlosga_fb
From: Carlos G. Á. <car...@us...> - 2005-09-12 20:24:59
|
Update of /cvsroot/pgsqlclient/pgsqlclient_10/source/PostgreSql/Data/Protocol In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3773/PostgreSql/Data/Protocol Modified Files: PgStatement.cs Log Message: Started the rework of the Schema support Index: PgStatement.cs =================================================================== RCS file: /cvsroot/pgsqlclient/pgsqlclient_10/source/PostgreSql/Data/Protocol/PgStatement.cs,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** PgStatement.cs 12 Sep 2005 18:27:45 -0000 1.7 --- PgStatement.cs 12 Sep 2005 20:24:48 -0000 1.8 *************** *** 236,245 **** this.ProcessSqlPacket(response); } ! while (response.IsRowDescription || response.IsNoData); // Update status this.status = PgStatementStatus.Described; } ! catch (Exception) { // Update status --- 236,245 ---- this.ProcessSqlPacket(response); } ! while (!response.IsRowDescription && !response.IsNoData); // Update status this.status = PgStatementStatus.Described; } ! catch { // Update status *************** *** 292,296 **** this.status = PgStatementStatus.Parsed; } ! catch (Exception) { // Update status --- 292,296 ---- this.status = PgStatementStatus.Parsed; } ! catch { // Update status *************** *** 400,404 **** this.status = PgStatementStatus.Executed; } ! catch (Exception) { // Update status --- 400,404 ---- this.status = PgStatementStatus.Executed; } ! catch { // Update status *************** *** 466,470 **** this.status = PgStatementStatus.Executed; } ! catch (Exception) { // Update status --- 466,470 ---- this.status = PgStatementStatus.Executed; } ! catch { // Update status *************** *** 556,560 **** this.status = PgStatementStatus.Initial; } ! catch (Exception) { // Update Status --- 556,560 ---- this.status = PgStatementStatus.Initial; } ! catch { // Update Status *************** *** 738,742 **** default: ! if (this.status == PgStatementStatus.OnQuery) { values[i] = packet.ReadValueFromString(this.rowDescriptor.Fields[i].DataType, length); --- 738,742 ---- default: ! if (this.rowDescriptor.Fields[i].DataType.FormatCode == PgTypeFormat.Text) { values[i] = packet.ReadValueFromString(this.rowDescriptor.Fields[i].DataType, length); |