[fdo][FDO328][New] Mixed const and non-const in RDBI set_schema

Mateusz Loskot mateusz at loskot.net
Mon Dec 4 15:38:34 EST 2006


You can view the artifact detail at the following URL:

    https://fdo.osgeo.org/servlets/Scarab/id/FDO328

Type
 Defect

Artifact ID
 FDO328 (Mixed const and non-const in RDBI set_schema)

Reported by
 Mateusz Loskot
 mloskot (mateusz at loskot.net)

New artifact details:
---------------------------------------------------------

- Artifact created
- Steps to Reproduce set to new value
  Check following files:

Src\Rdbi\set_schema.c:47
Src\MySQL\Driver\set_schema.h:28
Src\MySQL\Driver\set_schema.c:25
Src\MySQL\Driver\rdbi_init.c:101
- Defect Severity set to new value
  Medium
- OS Distribution and Version set to new value
  Windows XP Home Edition (with latest updates)
- Artifact Status set to new value
  Unconfirmed
- Description set to new value
  The RDBI driver for MySQL initializes table of function pointers adding set_schema with const char* as a type of schema_name parameter.

But the mysql_set_schema function expects schema name passed as char*, not const char*.

- Operating system set to new value
  Windows XP
- Platform set to new value
  PC
- Summary set to new value
  Mixed const and non-const in RDBI set_schema
- Component set to new value
  RDBMS
- Subcomponent set to new value
  RDBI

---------------------------------------------------------
This message was automatically generated by Project Tracker.








More information about the Fdo_issues mailing list