← Back to team overview

agesys-dev team mailing list archive

[Bug 805983] Re: _Statement has no attribute charset

 

This code isn't present in 0.9.2 or trunk. Please update your release.

** Changed in: oursql
       Status: Confirmed => Invalid

-- 
You received this bug notification because you are a member of Agesys
Team, which is subscribed to oursql.
https://bugs.launchpad.net/bugs/805983

Title:
  _Statement has no attribute charset

Status in oursql:
  Invalid

Bug description:
  statement.pyx line 124 has the _Statement._raise_error() method:

      cdef int _raise_error(self) except -1:
          cdef int err = mysql_stmt_errno(self.stmt)
          self.charset
          raise _exception_from_errno(err)(
              self.conn._decode_char_p(mysql_stmt_error(self.stmt)), err)

  The statement "self.charset" in line 126 has no apparent purpose, and
  there is no "charset" attribute of this class.  ANY call to this
  method will result in an error to that effect.  The statement should
  be removed.

To manage notifications about this bug go to:
https://bugs.launchpad.net/oursql/+bug/805983/+subscriptions


References