libtabula

Check-in [135cd93ba4]
Login

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

Overview
Comment:Comment change
Timelines: family | ancestors | descendants | both | mysql-type-info
Files: files | file ages | folders
SHA1: 135cd93ba4baa5855c3e5556aeb78ee260cc5d4f
User & Date: tangent 2015-08-14 05:52:00
Context
2015-08-14
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
05:40
Merged trunk changes check-in: 5f36ef6682 user: tangent tags: mysql-type-info
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/field_type.h.

246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
	/// public only because libtabula creates a static array of these
	/// for use by FieldType to use in various lookups.
	class AnnotatedFT : public FieldType
	{
	public:
		AnnotatedFT& operator=(const AnnotatedFT& other);
		
		// FIXME: Reorder parameter list to match FieldType.  It's only
		// in this order to minimize diffs in the types_[] definition
		// relative to MySQL++.  Once that table settles down, we can
		// do a big-bang changeover.
		AnnotatedFT(const char* s, const std::type_info& t,
				Base bt, unsigned int f = tf_default,
				bool bg = true) :
		FieldType(bt, f),
		sql_name_(s),
		c_type_(&t),
		best_guess_(bg)
		{
		}








|
|
|
<

|
<







246
247
248
249
250
251
252
253
254
255

256
257

258
259
260
261
262
263
264
	/// public only because libtabula creates a static array of these
	/// for use by FieldType to use in various lookups.
	class AnnotatedFT : public FieldType
	{
	public:
		AnnotatedFT& operator=(const AnnotatedFT& other);
		
		// Parameter order differs from FieldType's ctor on purpose:
		// they're ordered to allow some to default in many cases in
		// the types_[] table initialization.

		AnnotatedFT(const char* s, const std::type_info& t,
				Base bt, unsigned int f = tf_default, bool bg = true) :

		FieldType(bt, f),
		sql_name_(s),
		c_type_(&t),
		best_guess_(bg)
		{
		}