summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge ts3-168.ts.cn.tlan:/home/ngb/mysql/mysql-5.0/mysql-5.0-ndb-bjunknown2006-12-015-13/+39
|\ | | | | | | | | | | | | | | into ts3-168.ts.cn.tlan:/home/ngb/mysql/mysql-5.0/mysql-5.0-ndb ndb/src/mgmsrv/Services.cpp: Auto merged
| * Merge lzhou@bk-internal.mysql.com:/home/bk/mysql-5.0-ndb-bjunknown2006-11-021-6/+8
| |\ | | | | | | | | | | | | | | | | | | into dev3-138.dev.cn.tlan:/home/zhl/mysql/mysql-5.0/bug19352
| | * Merge dev3-138.dev.cn.tlan:/home/zhl/mysql/mysql-4.1/bug19352unknown2006-11-021-6/+8
| | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | into dev3-138.dev.cn.tlan:/home/zhl/mysql/mysql-5.0/bug19352 ndb/src/kernel/vm/SimulatedBlock.cpp: Change the function name different in 5.0 and 4.1.
| | | * BUG#19352 return exact error message when parameters overflow in 32-bit ↵unknown2006-11-011-6/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | platform. ndb/src/kernel/vm/SimulatedBlock.cpp: Return exact error message when parameters overflow in 32-bit platform.
| * | | Merge lzhou@bk-internal.mysql.com:/home/bk/mysql-5.0-ndb-bjunknown2006-11-013-6/+12
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | into dev3-138.dev.cn.tlan:/home/zhl/mysql/mysql-5.0/bug21052
| | * | BUG#21052 Modify the overflow error existed in last patch.unknown2006-11-013-6/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ndb/include/ndbapi/ndberror.h: Change unsigned int to int ndb/src/mgmsrv/Services.cpp: Modify the overflow error existed in last patch. Change ther length of m_text to 512. ndb/src/ndbapi/ndberror.c: Change the parameter of ndb_error_string from unsinged int to int.
| * | | BUG #21858 Make sure retry when EINTR returns, which decreases memory leak ↵unknown2006-10-081-3/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | chance. ndb/src/common/util/File.cpp: Avoid memory leak when EINTR error returns, Even though a close error happens, a ERROR message in out-file is given, and this shouldn't affect the normally running.
* | | | Merge mysql.com:/windows/Linux_space/MySQL/mysql-5.0unknown2006-11-302-9/+11
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into mysql.com:/windows/Linux_space/MySQL/mysql-5.0-ndb sql/ha_ndbcluster.cc: Auto merged
| * | | | bug#18487 UPDATE IGNORE not supported for unique constraint violation of ↵unknown2006-11-302-8/+9
| | | | | | | | | | | | | | | | | | | | non-primary key: only check pk if it is updated
| * | | | bug#18487 UPDATE IGNORE not supported for unique constraint violation of ↵unknown2006-11-301-2/+3
| | | | | | | | | | | | | | | | | | | | non-primary key: handle INSERT ... ON DUPLICATE KEY UPDATE
* | | | | Merge mskold@bk-internal.mysql.com:/home/bk/mysql-5.0unknown2006-11-3012-90/+347
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into mysql.com:/windows/Linux_space/MySQL/mysql-5.0-ndb ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp: Auto merged ndb/tools/ndb_config.cpp: Auto merged sql/ha_ndbcluster.cc: Auto merged
| * \ \ \ \ Merge mysql.com:/windows/Linux_space/MySQL/mysql-5.0unknown2006-11-303-0/+29
| |\ \ \ \ \ | | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into mysql.com:/windows/Linux_space/MySQL/mysql-5.0-ndb mysql-test/r/ndb_update.result: Auto merged sql/ha_ndbcluster.cc: Auto merged
| | * | | | #18487 UPDATE IGNORE not supported for unique constraint violation of ↵unknown2006-11-303-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | non-primary key: call peek_index_rows
| | * | | | bug#24303 Wrong result for UPDATE IGNORE for NDB table: Added test caseunknown2006-11-292-0/+12
| | | | | |
| * | | | | Merge perch.ndb.mysql.com:/home/jonas/src/50-workunknown2006-11-212-1/+5
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into perch.ndb.mysql.com:/home/jonas/src/mysql-5.0-ndb ndb/src/common/util/socket_io.cpp: Auto merged ndb/src/common/util/InputStream.cpp: merge
| | * | | | | ndb -unknown2006-11-212-8/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix bug wrt to '\r' handling in latest commit to bug#24011 ndb/src/common/util/InputStream.cpp: Fix bug wrt to '\r' handling in latest commit to bug#24011 ndb/src/common/util/socket_io.cpp: Fix bug wrt to '\r' handling in latest commit to bug#24011
| * | | | | | Merge orca.ndb.mysql.com:/export/home/space/pekka/ndb/version/my50-ndbunknown2006-11-163-2/+3
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into orca.ndb.mysql.com:/export/home/space/pekka/ndb/version/my50-misc
| | * | | | | | ndb - fix test case: testDict -n Restart_NR* T1 I3unknown2006-11-022-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ndb/test/ndbapi/testDict.cpp: fix testDict -n Restart_NR* T1 I3 ndb/test/run-test/daily-basic-tests.txt: fix testDict -n Restart_NR* T1 I3
| | * | | | | | ndb - flush signal log when it is turned offunknown2006-11-021-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp: flush signal log when it is turned off or whatever
| * | | | | | | Merge mskold@bk-internal.mysql.com:/home/bk/mysql-5.0-ndbunknown2006-11-141-2/+1
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into mysql.com:/windows/Linux_space/MySQL/mysql-5.0-ndb
| | * | | | | | | Fix for Bug #23887 (Introduced by Bugfix #22295)unknown2006-11-131-2/+1
| | | |_|/ / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | ndb/tools/ndb_config.cpp: use standard option variable with standard option
| * | | | | | | Merge mskold@bk-internal.mysql.com:/home/bk/mysql-5.0unknown2006-11-145-85/+309
| |\ \ \ \ \ \ \ | | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into mysql.com:/windows/Linux_space/MySQL/mysql-5.0-ndb sql/ha_ndbcluster.cc: Auto merged
| | * | | | | | Merge mskold@bk-internal.mysql.com:/home/bk/mysql-5.0-ndbunknown2006-11-134-53/+259
| | |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into mysql.com:/windows/Linux_space/MySQL/mysql-5.0-ndb
| | | * | | | | | bug#21507 I can't create a unique hash index in NDB: Added possibillity to ↵unknown2006-11-074-53/+259
| | | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | create hash only indexes with NULL valued attributes, but any NULL valued access will become full table scan with pushed condition on index attribute values
| | * | | | | | Merge perch.ndb.mysql.com:/home/jonas/src/50-workunknown2006-11-061-32/+50
| | |\ \ \ \ \ \ | | | |/ / / / / | | |/| / / / / | | | |/ / / / | | | | | | | | | | | | | | | | | | | | | into perch.ndb.mysql.com:/home/jonas/src/mysql-5.0-ndb
| | | * | | | ndb - bug#24011unknown2006-11-061-33/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ndb/src/common/util/socket_io.cpp: Fix problem with cut sockmessages
* | | | | | | Merge bk-internal.mysql.com:/home/bk/mysql-5.0-runtimeunknown2006-11-301-1/+0
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into bodhi.local:/opt/local/work/mysql-5.0-runtime
| * \ \ \ \ \ \ Merge bk-internal.mysql.com:/home/bk/mysql-4.1unknown2006-11-300-0/+0
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into bodhi.local:/opt/local/work/mysql-5.0-runtime
| | * \ \ \ \ \ \ Merge bk-internal.mysql.com:/home/bk/mysql-4.1unknown2006-11-301-1/+0
| | |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into bodhi.local:/opt/local/work/mysql-4.1-runtime
| * | \ \ \ \ \ \ \ Merge bk-internal.mysql.com:/home/bk/mysql-5.0unknown2006-11-301-1/+0
| |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into bodhi.local:/opt/local/work/mysql-5.0-runtime
| | * \ \ \ \ \ \ \ \ Merge mysql.com:/home/kent/bk/mysql-4.1-buildunknown2006-11-290-0/+0
| | |\ \ \ \ \ \ \ \ \ | | | | |/ / / / / / / | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into mysql.com:/home/kent/bk/mysql-5.0-build
| | | * | | | | | | | Merge kahlann.erinye.com:/home/df/mysql/build/mysql-4.1-buildunknown2006-11-291-1/+0
| | | |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into kahlann.erinye.com:/home/df/mysql/build/mysql-4.1-build-work
| | * | \ \ \ \ \ \ \ \ Merge kahlann.erinye.com:/home/df/mysql/build/mysql-5.0-buildunknown2006-11-291-1/+0
| | |\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into kahlann.erinye.com:/home/df/mysql/build/mysql-5.0-build-work mysql-test/mysql-test-run.pl: Auto merged
| | | * \ \ \ \ \ \ \ \ \ Merge kahlann.erinye.com:/home/df/mysql/build/mysql-4.1-build-workunknown2006-11-291-1/+0
| | | |\ \ \ \ \ \ \ \ \ \ | | | | | |/ / / / / / / / | | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into kahlann.erinye.com:/home/df/mysql/build/mysql-5.0-build-work mysql-test/mysql-test-run.pl: Auto merged
| | | | * | | | | | | | | minor fixunknown2006-11-291-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mysql-test/mysql-test-run.pl: remove dependency on Data::Dumper, it's not used anywhere
* | | | | | | | | | | | | Merge moonlight.intranet:/home/tomash/src/mysql_ab/mysql-5.0unknown2006-11-291-0/+2
|\ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into moonlight.intranet:/home/tomash/src/mysql_ab/mysql-5.0-bug20637 sql/sql_yacc.yy: Auto merged
| * | | | | | | | | | | | BUG#20637: "load data concurrent infile" locks the tableunknown2006-11-291-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Note that we ignore CONCURRENT if LOAD DATA CONCURRENT is used from inside a stored routine and MySQL is compiled with Query Cache support (this is not in the manual). The problem was that the condition test of "we are inside stored routine" was reversed, thus CONCURRENT _worked only_ from stored routine. The solution is to use proper condition test. No test case is provided because the test case would require a large amount of input, and it's hard to tell is SELECT is really blocked or just slow (subject to race). sql/sql_yacc.yy: Fix the condition of TL_WRITE_CONCURRENT_INSERT on LOAD DATA CONCURRENT, which was reversed, and return valid value if we are in SP.
* | | | | | | | | | | | | Merge bodhi.local:/opt/local/work/mysql-4.1-runtimeunknown2006-11-290-0/+0
|\ \ \ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into bodhi.local:/opt/local/work/mysql-5.0-runtime libmysql/libmysql.c: Auto merged libmysqld/lib_sql.cc: Auto merged sql/item_sum.cc: Auto merged tests/mysql_client_test.c: Manual merge: use local.
| * | | | | | | | | | | | Merge bk-internal.mysql.com:/home/bk/mysql-4.1unknown2006-11-2911-110/+279
| |\ \ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into bodhi.local:/opt/local/work/mysql-4.1-runtime libmysql/libmysql.c: Auto merged libmysqld/lib_sql.cc: Auto merged sql/item_sum.cc: Auto merged
| | * | | | | | | | | | | Cleanup: remove const.unknown2006-11-221-1/+1
| | | | | | | | | | | | |
| | * | | | | | | | | | | Merge moonlight.intranet:/home/tomash/src/mysql_ab/mysql-4.1-runtimeunknown2006-11-222-3/+75
| | |\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into moonlight.intranet:/home/tomash/src/mysql_ab/mysql-4.1-bug21635 tests/mysql_client_test.c: Manual merge.
| | * \ \ \ \ \ \ \ \ \ \ \ Merge moonlight.intranet:/home/tomash/src/mysql_ab/mysql-4.1-runtimeunknown2006-11-214-95/+79
| | |\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into moonlight.intranet:/home/tomash/src/mysql_ab/mysql-4.1-bug23159
| | * \ \ \ \ \ \ \ \ \ \ \ \ Merge moonlight.intranet:/home/tomash/src/mysql_ab/mysql-4.1-runtimeunknown2006-11-173-10/+96
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into moonlight.intranet:/home/tomash/src/mysql_ab/mysql-4.1-bug23383
| | * \ \ \ \ \ \ \ \ \ \ \ \ \ Merge moonlight.intranet:/home/tomash/src/mysql_ab/mysql-4.1-runtimeunknown2006-11-163-2/+29
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into moonlight.intranet:/home/tomash/src/mysql_ab/mysql-4.1-bug17047
* | | \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge bk-internal.mysql.com:/home/bk/mysql-5.0unknown2006-11-29315-1650/+4739
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|/ / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into bodhi.local:/opt/local/work/mysql-5.0-runtime libmysql/libmysql.c: Auto merged libmysqld/lib_sql.cc: Auto merged mysql-test/t/func_str.test: Auto merged sql/item_cmpfunc.cc: Auto merged sql/item_func.cc: Auto merged sql/item_sum.cc: Auto merged sql/mysqld.cc: Auto merged sql/sql_yacc.yy: Auto merged tests/mysql_client_test.c: Auto merged mysql-test/t/wait_for_socket.sh: Manual merge. sql/sql_cache.cc: Manual merge.
| * | | | | | | | | | | | | | | | Merge jbruehe@bk-internal.mysql.com:/home/bk/mysql-5.0-buildunknown2006-11-281-9/+9
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into trift2.:/MySQL/M50/push-5.0
| | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge trift2.:/M50/mysql-5.0unknown2006-11-281-9/+9
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into trift2.:/MySQL/M50/push-5.0
| | | * | | | | | | | | | | | | | | | netware/BUILD/nwbootstrap : Editing "mwenv" is now obsolete and even plain ↵unknown2006-11-281-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | wrong - drop it. netware/BUILD/nwbootstrap: Editing "mwenv" is now obsolete, as this file gets its variable settings from the environment already; and it is even plain wrong, because the assignments to those variables are written in such a way that replacing the variables by values (as tried here) yields invalid shell lines.
| * | | | | | | | | | | | | | | | | | Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-5.0-buildunknown2006-11-282-8/+11
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into mysql.com:/home/kent/bk/mysql-5.0-build
| | * | | | | | | | | | | | | | | | | Makefile.am:unknown2006-11-281-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Handle the case "sql_yacc.cc" is pregenerated or not, and that the case where the source and build tree is the same or not. sql/Makefile.am: Handle the case "sql_yacc.cc" is pregenerated or not, and that the case where the source and build tree is the same or not.