~ubuntu-branches/debian/sid/kamailio/sid

« back to all changes in this revision

Viewing changes to modules/db_mysql/km_my_con.h

  • Committer: Package Import Robot
  • Author(s): Victor Seva
  • Date: 2014-01-06 11:47:13 UTC
  • mfrom: (1.1.5)
  • Revision ID: package-import@ubuntu.com-20140106114713-t8xidp4arzrnyeya
Tags: 4.1.1-1
* New upstream release
* debian/patches:
  - add upstream fixes
* Added tls outbound websocket autheph dnssec modules
  - openssl exception added to their license
* removing sparc and ia64 from supported archs
  for mono module (Closes: #728915)

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
 
47
47
        MYSQL* con;              /*!< Connection representation */
48
48
        time_t timestamp;        /*!< Timestamp of last query */
 
49
        int transaction;         /*!< Multi-query transaction is currently open */
 
50
        int lockedtables;        /*!< Table locks were aquired */
49
51
};
50
52
 
51
53
 
52
54
/*
53
55
 * Some convenience wrappers
54
56
 */
55
 
#define CON_CONNECTION(db_con) (((struct my_con*)((db_con)->tail))->con)
56
 
#define CON_TIMESTAMP(db_con)  (((struct my_con*)((db_con)->tail))->timestamp)
 
57
#define CON_CONNECTION(db_con)  (((struct my_con*)((db_con)->tail))->con)
 
58
#define CON_TIMESTAMP(db_con)   (((struct my_con*)((db_con)->tail))->timestamp)
 
59
#define CON_TRANSACTION(db_con) (((struct my_con*)((db_con)->tail))->transaction)
 
60
#define CON_LOCKEDTABLES(db_con) (((struct my_con*)((db_con)->tail))->lockedtables)
57
61
 
58
62
 
59
63
/*! \brief