First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 49590
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Robin Johnson <robbat2@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Nickolay Kolchin-Semyonov <nbkolchin@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
t.patch fix for the mysql++ 1.7.9 patch Nickolay Kolchin-Semyonov 2004-05-01 05:12 0000 1.02 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 49590 depends on: Show dependency tree
Bug 49590 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-05-01 05:10 0000
The following patch fixes the problem

*** mysql++-1.7.9/sqlplusint/type_info1.hh      Sat May 19 20:44:48 2001
--- mysql++-1.7.9-patched/sqlplusint/type_info1.hh      Sat May  1 16:08:18 2004
***************
*** 28,34 ****
    const bool           _default;
    mysql_ti_sql_type_info (const mysql_ti_sql_type_info &b);           // can't do
    mysql_ti_sql_type_info& operator=(const mysql_ti_sql_type_info &b); //  " "
!   mysql_ti_sql_type_info () {}
    // OEP - didn't init _base_type and _default mysql_ti_sql_type_info () {}
    // all private, only mysql_type_info can
    // create because there *must* be only one copy
--- 28,34 ----
    const bool           _default;
    mysql_ti_sql_type_info (const mysql_ti_sql_type_info &b);           // can't do
    mysql_ti_sql_type_info& operator=(const mysql_ti_sql_type_info &b); //  " "
!   mysql_ti_sql_type_info : _base_type(0), _default(false) () {}
    // OEP - didn't init _base_type and _default mysql_ti_sql_type_info () {}
    // all private, only mysql_type_info can
    // create because there *must* be only one copy

------- Comment #1 From Nickolay Kolchin-Semyonov 2004-05-01 05:12:02 0000 -------
Created an attachment (id=30442) [edit]
fix for the mysql++ 1.7.9

------- Comment #2 From Robin Johnson 2004-05-03 22:12:36 0000 -------
fixed in cvs.

------- Comment #3 From Howard B. Golden 2004-05-09 17:40:55 0000 -------
See bug #50442. I believe the patch is incorrect. I believe that the line:

  mysql_ti_sql_type_info : _base_type(0), _default(false) () {} 

should be:

  mysql_ti_sql_type_info() : _base_type(0), _default(false) {} 

------- Comment #4 From Kai Ruhnau 2004-05-13 12:13:51 0000 -------
Yes, you are right, the patch should be

*** mysql++-1.7.9/sqlplusint/type_info1.hh  Sat May 19 20:44:48 2001
--- mysql++-1.7.9-patched/sqlplusint/type_info1.hh  Sat May  1 16:08:18 2004
***************
*** 28,34 ****
    const bool           _default;
    mysql_ti_sql_type_info (const mysql_ti_sql_type_info &b);           // can't do
    mysql_ti_sql_type_info& operator=(const mysql_ti_sql_type_info &b); //  "    "
!   mysql_ti_sql_type_info () {}
    // OEP - didn't init _base_type and _default mysql_ti_sql_type_info () {}
    // all private, only mysql_type_info can
    // create because there *must* be only one copy
--- 28,34 ----
    const bool           _default;
    mysql_ti_sql_type_info (const mysql_ti_sql_type_info &b);           // can't do
    mysql_ti_sql_type_info& operator=(const mysql_ti_sql_type_info &b); //  "    "
!   mysql_ti_sql_type_info () : _base_type(0), _default(false) {}
    // OEP - didn't init _base_type and _default mysql_ti_sql_type_info () {}
    // all private, only mysql_type_info can
    // create because there *must* be only one copy

First Last Prev Next    No search results available      Search page      Enter new bug