This has been fixed in trunk of the py3k branch.

** Changed in: oursql
       Status: New => Fix Committed

** Changed in: oursql
    Milestone: None => py3k-0.9.3

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

Title:
  an error in statments code

Status in oursql:
  Fix Committed

Bug description:
  Here statement has no charset field, charfield is into connection
  object I did a simple fixing here is the code please review it.

    /* "C:\Documents and Settings\Owner\oursql-py3k\oursqlx\statement.pyx":126  
                                                                                
                               
   *     cdef int _raise_error(self) except -1:                                 
                                                                                
                               
   *         cdef int err = mysql_stmt_errno(self.stmt)                         
                                                                                
                               
   *         self.conn.charset             # <<<<<<<<<<<<<<                     
                                                                                
                               
   *         raise _exception_from_errno(err)(                                  
                                                                                
                               
   *             self.conn._decode_char_p(mysql_stmt_error(self.stmt)), err)    
                                                                                
                               
   */                                                                           
                                                                                
                               
    __pyx_t_1 = PyObject_GetAttr(((PyObject *)((struct 
__pyx_obj_6oursql__Statement *)__pyx_v_self)->conn), __pyx_n_s__charset); if 
(unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 126; 
__pyx_clineno = __LINE__; goto __pyx_L1_error;}                                 
                                                                                
               
    __Pyx_GOTREF(__pyx_t_1);                                                    
                                                                                
                               
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

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

_______________________________________________
Mailing list: https://launchpad.net/~agesys-dev
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~agesys-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to