libtabula

Check-in [fb36fd8453]
Login

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

Overview
Comment:Merged exrun OS X fixes in
Timelines: family | ancestors | descendants | both | mysql-type-info
Files: files | file ages | folders
SHA1: fb36fd8453a6cbd0ec4ee073a5371e9127cf80c5
User & Date: tangent 2015-08-11 03:32:27
Context
2015-08-11
11:40
The std::type_info to FieldType mapping mechanism was purposely self-limiting itself to looking up "best guess" entries only, on the theory that since moving from MySQL C API data type enums to libtabula generic type enums we lost the uniquenss of the {FieldType::Base, FieldType::Flags} pair, that we should only look through the subset that has unique pairs. However, that logic only works when mapping from libtabula values *to* C++ data types, not the other way around, since all of the C++ type_info values in that table *are* unique.

Therefore, removed the check on the new "best guess" flag in FieldType::TypeMap::operator[] since it isn't helping us. Maybe we will use this flag later, if we add the reverse mapping; or, maybe we'll remove it on YAGNI grounds. check-in: 28f9d01b73 user: etr tags: mysql-type-info

03:32
Merged exrun OS X fixes in check-in: fb36fd8453 user: tangent tags: mysql-type-info
03:30
Updated OS X and Cygwin cases in exrun to match new CMake build system. (Linux was done previously.) check-in: cf319f7c5b user: tangent tags: trunk
2015-08-10
23:38
Merged trunk changes in check-in: 7d3a624647 user: etr tags: mysql-type-info
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to exrun.

56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
		echo
		exit 1
	fi
fi

if [ `uname -s` = 'Darwin' ]
then
	DYLD_LIBRARY_PATH=. $TOOL $BASE/examples/$PROG $*
elif [ `uname -o` = 'Cygwin' ]
then
	# Cygwin build case; see below for bash-as-DOS-shell case
	PATH=. $TOOL ./$PROG $*
elif [ -e /usr/bin/ldd ]
then
	if [ `uname -s` = 'SunOS' ]
	then
		LD_LIBRARY_PATH=.:/usr/mysql/lib/mysql $TOOL $PROG $*
	else
		LD_LIBRARY_PATH=. $TOOL $PROG $*
	fi
else
	echo "ERROR: I don't grok this system's dynamic linkage system."
fi







|



|











56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
		echo
		exit 1
	fi
fi

if [ `uname -s` = 'Darwin' ]
then
	DYLD_LIBRARY_PATH=. $TOOL $PROG $*
elif [ `uname -o` = 'Cygwin' ]
then
	# Cygwin build case; see below for bash-as-DOS-shell case
	PATH=. $TOOL $PROG $*
elif [ -e /usr/bin/ldd ]
then
	if [ `uname -s` = 'SunOS' ]
	then
		LD_LIBRARY_PATH=.:/usr/mysql/lib/mysql $TOOL $PROG $*
	else
		LD_LIBRARY_PATH=. $TOOL $PROG $*
	fi
else
	echo "ERROR: I don't grok this system's dynamic linkage system."
fi