libtabula

Check-in [200397c3a7]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Removed an unneded ctor in the new MySQLFieldTypes class.
Timelines: family | ancestors | descendants | both | mysql-type-info
Files: files | file ages | folders
SHA1: 200397c3a7d8dc2d273e7b6fe58c0923c72e5362
User & Date: tangent 2015-08-14 05:54:08
Context
2015-08-14
05:57
One of the sql_types.h changes recently lost the fallback for no stdint at all, such as VC++ 2008 and earlier. check-in: 143d1ad0bd user: tangent tags: mysql-type-info
05:54
Removed an unneded ctor in the new MySQLFieldTypes class. check-in: 200397c3a7 user: tangent tags: mysql-type-info
05:52
Comment change check-in: 135cd93ba4 user: tangent tags: mysql-type-info
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/mysql/ft.h.

43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
public:
	/// \brief Standard constructor
	///
	/// \see FieldType::FieldType(Base, Flags)
	MySQLFieldType(Base b = ft_unsupported, Flag f = tf_default) :
	FieldType(b, f)
	{
	}

	/// \brief Promotion constructor
	///
	/// Converts generic libtabula data type info to MySQL-specific
	/// info.  This ctor lets you create a base class instance then
	/// later convert it to a DBDriver-specific instance.
	///
	/// FIXME: This may be a case of YAGNI.  The idea is that this will
	/// effectively let us convert enum Base to enum_field_types, and
	/// enum Flags to a MySQL C API "flags" bitfield.  But, we may find
	/// that this conversion should happen elsewhere in the DBDriver
	/// code, so the promotion ctor isn't necessary.
	MySQLFieldType(const FieldType& ft) :
	FieldType(ft)
	{
	}

	/// \brief Create object from MySQL C API type info
	///
	/// \param t the underlying MySQL C API type ID for this type,
	/// typically given as MYSQL_FIELD::type
	/// \param flags is the MYSQL_FIELD::flags value







<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<







43
44
45
46
47
48
49
















50
51
52
53
54
55
56
public:
	/// \brief Standard constructor
	///
	/// \see FieldType::FieldType(Base, Flags)
	MySQLFieldType(Base b = ft_unsupported, Flag f = tf_default) :
	FieldType(b, f)
	{
















	}

	/// \brief Create object from MySQL C API type info
	///
	/// \param t the underlying MySQL C API type ID for this type,
	/// typically given as MYSQL_FIELD::type
	/// \param flags is the MYSQL_FIELD::flags value