- Timestamp:
- Jun 7, 2006, 10:30:17 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/sh_database.c
r40 r45 522 522 { 523 523 if (str[len-1] == '\n') 524 str[len-1] = ='\0';524 str[len-1] = '\0'; 525 525 } 526 526 return str; … … 687 687 _("sh_database_query")); 688 688 if (retry == 0 && 689 (3114 == o_errorcode || 0 == strncmp(o_errormsg, _("ORA-03114"), 9)) 690 691 692 689 (3114 == o_errorcode || 0 == strncmp(o_errormsg, _("ORA-03114"), 9))) 690 { 691 ++retry; sh_database_reset(); goto oracle_doconnect; 692 } 693 693 goto err_out; 694 694 } … … 706 706 _("sh_database_query")); 707 707 if (retry == 0 && 708 (3114 == o_errorcode || 0 == strncmp(o_errormsg, _("ORA-03114"), 9)) 708 (3114 == o_errorcode || 0 == strncmp(o_errormsg, _("ORA-03114"), 9))) 709 709 { 710 710 ++retry; sh_database_reset(); goto oracle_doconnect; … … 742 742 _("sh_database_query")); 743 743 if (retry == 0 && 744 (3114 == o_errorcode || 0 == strncmp(o_errormsg, _("ORA-03114"), 9)) 744 (3114 == o_errorcode || 0 == strncmp(o_errormsg, _("ORA-03114"), 9))) 745 745 { 746 746 ++retry; sh_database_reset(); goto oracle_doconnect; … … 760 760 _("sh_database_query")); 761 761 if (retry == 0 && 762 (3114 == o_errorcode || 0 == strncmp(o_errormsg, _("ORA-03114"), 9)) 762 (3114 == o_errorcode || 0 == strncmp(o_errormsg, _("ORA-03114"), 9))) 763 763 { 764 764 ++retry; sh_database_reset(); goto oracle_doconnect; … … 779 779 _("sh_database_query")); 780 780 if (retry == 0 && 781 (3114 == o_errorcode || 0 == strncmp(o_errormsg, _("ORA-03114"), 9)) 781 (3114 == o_errorcode || 0 == strncmp(o_errormsg, _("ORA-03114"), 9))) 782 782 { 783 783 ++retry; sh_database_reset(); goto oracle_doconnect; … … 795 795 _("sh_database_query")); 796 796 if (retry == 0 && 797 (3114 == o_errorcode || 0 == strncmp(o_errormsg, _("ORA-03114"), 9)) 797 (3114 == o_errorcode || 0 == strncmp(o_errormsg, _("ORA-03114"), 9))) 798 798 { 799 799 ++retry; sh_database_reset(); goto oracle_doconnect;
Note:
See TracChangeset
for help on using the changeset viewer.