mirror of
https://github.com/gnustep/libs-sqlclient.git
synced 2025-02-20 18:32:06 +00:00
don't call -backendDisconnect directly as it does not set the superclass state
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/sqlclient/trunk@39048 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
8939b86ba4
commit
39c084eb1c
1 changed files with 2 additions and 3 deletions
|
@ -522,7 +522,6 @@ connectQuote(NSString *str)
|
||||||
[self clientName], localException];
|
[self clientName], localException];
|
||||||
}
|
}
|
||||||
NS_ENDHANDLER
|
NS_ENDHANDLER
|
||||||
connected = NO;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -659,7 +658,7 @@ connectQuote(NSString *str)
|
||||||
{
|
{
|
||||||
str = [NSString stringWithCString: cstr];
|
str = [NSString stringWithCString: cstr];
|
||||||
}
|
}
|
||||||
[self backendDisconnect];
|
[self disconnect];
|
||||||
[NSException raise: SQLException format: @"Error executing %@: %@",
|
[NSException raise: SQLException format: @"Error executing %@: %@",
|
||||||
stmt, str];
|
stmt, str];
|
||||||
}
|
}
|
||||||
|
@ -1015,7 +1014,7 @@ static inline unsigned int trim(char *str, unsigned len)
|
||||||
{
|
{
|
||||||
str = [NSString stringWithCString: cstr];
|
str = [NSString stringWithCString: cstr];
|
||||||
}
|
}
|
||||||
[self backendDisconnect];
|
[self disconnect];
|
||||||
[NSException raise: SQLException format: @"Error executing %@: %@",
|
[NSException raise: SQLException format: @"Error executing %@: %@",
|
||||||
stmt, str];
|
stmt, str];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue