Permalink
Browse files

fix PreparedStatement __get_description

  • Loading branch information...
1 parent 17e66e8 commit 093d17e361b0d1f4709b6f6566241dbdcfe59f20 @pmakowski committed May 9, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 fdb/fbcore.py
View
@@ -1335,7 +1335,7 @@ def __get_internal_data_type_name(self, data_type):
def __get_description(self):
if not self.__description:
desc = []
- if self.__executed and (self.out_sqlda.sqld > 0):
+ if self.__prepared and (self.out_sqlda.sqld > 0): #__executed
for sqlvar in self.out_sqlda.sqlvar[:self.out_sqlda.sqld]:
# Field name (or alias)
sqlname = self._bytes_to_str(

0 comments on commit 093d17e

Please sign in to comment.