summaryrefslogtreecommitdiff
path: root/databases/p5-SQL-Statement
AgeCommit message (Collapse)AuthorFilesLines
2017-04-26Updated databases/p5-SQL-Statement to 1.412mef2-8/+7
------------------------------------------- 1.412 2017-04-06 * Release 1.411_001 without further changes as 1.412 1.411_001 2017-03-30 [Bug fixes] * Fix http://www.perlmonks.org/?node_id=1167381 (NumericEval: fix typo on error handling) (thanks to Yanick Champoux, James R. Leu) * fix repo url and t/02execute.t (Reini Urban, Mohammad S Anwar) * fix test failing with blead-perl (Jens Rehsack) [Improvements] * Refactor constraints processing (Ovidiu Gheorghies) * Support parsing of complex JOIN clause (containing OR and ()'s) (James R. Leu) * handle backtick quoting (Ben Hengst)
2016-06-08Bump PKGREVISION for perl-5.24.wiz1-1/+2
2016-04-16Update to 1.410wen2-7/+7
Upstream changes: 1.410 2016-04-11 [Bug fixes] * Fix RT#113625 - Unnecessary x-bits (Kent Fredric) [Documentation] * pod2markdown README.md from lib/SQL/Statement.pm 1.409 2016-04-06 * Release 1.408_001 without further changes as 1.409 1.408_001 2016-03-07 [Bug fixes] * Fix RT#112530 - t/06virtual.t fails with -Duselongdouble (thanks Slaven Rezic) * Fix RT#105852 - dependency installation isn't triggered properly in cpan (thanks Mithaldu) * Fix RT#99349 - bind variables are not bound to placeholders in the correct order (thanks vulpeculus@gmx.de) [Documentation] * Update Copyright statements, add where missing (according to records) * Add license conditions where missing * bundle copy of license conditions to distribution
2015-11-03Add SHA512 digests for distfiles for databases categoryagc1-1/+2
Problems found with existing distfiles: distfiles/D6.data.ros.gz distfiles/cstore0.2.tar.gz distfiles/data4.tar.gz distfiles/sphinx-2.2.7-release.tar.gz No changes made to the cstore or mariadb55-client distinfo files. Otherwise, existing SHA1 digests verified and found to be the same on the machine holding the existing distfiles (morden). All existing SHA1 digests retained for now as an audit trail.
2015-08-06Update to 1.407wen2-7/+9
Add missing DEPENDS Upstream changes: 1.407 2015-05-26 * Release 1.406_002 without further changes as 1.407 1.406_002 2015-05-22 [Bug fixes] * Fix RT#104579: Redundant argument in sprintf submitted by Slaven Rezi * Fix RT#104589: t/14parse.t fails if Test::Deep is not installed submitted by Slaven Rezi 1.406_001 2015-05-20 [Misc] * clean up Makefile.PL, meta-data and requirements [Bug fixes] * Fix SQL function CONV to use limited number of sane character sets for conversion and rely on Math::Base::Convert instead of own code (suggested by Tom Wyant in RT#100551, thanks Tom) * fix handling of literal identifiers and for every IMPORT rely on literal identifiers to avoid parser errors for column names starting with numbers or similar * fix capability cache: "$class->can(...)" might return undef and therefore inexistent capabilities are queried to often * Fix COUNT(DISTINCT col) without GROUP BY clause (patch submitted by Grant Mathews, thanks Grant) * Fix "parse insert with functions" submitted via GitHub PR#6 by fecundf and RT#96628 * Fix RT#93320: SQL-style comment can not begin inside quotes by Tom Wyant - thanks Tom [Improvements] * reduce blocks and rewrite some inner statements to increase speed of sql command processing
2015-06-12Recursive PKGREVISION bump for all packages mentioning 'perl',wiz1-2/+2
having a PKGNAME of p5-*, or depending such a package, for perl-5.22.0.
2014-10-09Remove SVR4_PKGNAME, per discussion on tech-pkg.wiz1-2/+1
2014-05-29Bump for perl-5.20.0.wiz1-1/+2
Do it for all packages that * mention perl, or * have a directory name starting with p5-*, or * depend on a package starting with p5- like last time, for 5.18, where this didn't lead to complaints. Let me know if you have any this time.
2013-06-22Updating package for CPAN distribution SQL-Statement, providing pure Perlsno2-14/+7
implementation of an SQL engine. pkgsrc changes: - killing DBI build dependency - was an error introduced by the author for better test coverage, leads easily to circular dependency, bad stuff ==> kicking - since 5.10.1 a suitable test framework is distributed with Perl5 core ==> no reason to mention it explicitely - Bumping conflict DBI version to 1.622 (with 1.623 DBI::DBD::SqlEngine received great improve - and forces a lot of fixes in SQL::Statement and vice versa) Upstream changes since 1.402: Version 1.405, released June 17, 2013 ------------------------------------------------- [Bug fixes] * INSERT now expands incomplete rows (Thanks to H.Merijn Brand) Version 1.404, released May 23, 2013 ------------------------------------------------- [Bug fixes] * re-enable cleanup test_output* after test done * recommend Text::Soundex and do soundex-test only when have it, because it's going to be removed from core for Perl 5.19 (thank Merijn) Version 1.403, released May 22, 2013 ------------------------------------------------- [Bug fixes] * fix documentation (rt#84889 - thanks Xavier Guimard and Florian, rt#85257 - thanks Andreas Koenig)
2013-05-31Bump all packages for perl-5.18, thatwiz1-1/+2
a) refer 'perl' in their Makefile, or b) have a directory name of p5-*, or c) have any dependency on any p5-* package Like last time, where this caused no complaints.
2013-01-10Update to 1.402wen2-8/+7
Upstream changes: Version 1.402, released December 19, 2012 ------------------------------------------------- [Misc] * add Math::Complex 1.56 as recommendation (RT#81926, Sam Ferencik) * add Math::BigInt 1.88 as recommendation (RT#81927, Sam Ferencik) * clarify Test::Simple 1.90 is required for building (RT#81925, Sam Ferencik) [Bug fixes] * fix leaking reference to open tables outside SQL::Statement::execute (fixes RT#81523) * looks_like_number identifies 'nan' as number sometimes (add regex to t/06virtual.t) Version 1.401, released October 29, 2012 ------------------------------------------------- [Misc] * Switch to 3-digited minor version [Bug fixes] * undo literal replaces in subqueries before passing them to the child parser * Fix doc typo RT#76764 (STEFFENW) - thanks Steffen * Fix typo documented in RT#71914 (reported by Ze'ev Atlas, fixed by H.Merijn Brand) - thanks Ze'ev and Merijn * Fix DROP TABLE behaviour and error detection [Improvements] * Improve documentation/tests for multiple JOIN's from RT#69573 (from BBYRD) with modifications * Filling in the SQL92 gaps for functions (BBYRD) from RT#72638 with minor modifications - thanks Brendan
2012-10-03Bump all packages that use perl, or depend on a p5-* package, orwiz1-1/+2
are called p5-*. I hope that's all of them.
2012-10-02Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.asau1-3/+1
2011-10-10Update p5-SQL-Statement to 1.33.hiramatsu2-7/+6
Changes from previous: Version 1.33, released February 05th, 2011 ---------------------------------------------- [Bug fixes] * Move test dependencies to (unreleased) Bundle::Test::SQL::Statement to avoid circular dependencies Version 1.32, released January 19th, 2011 ---------------------------------------------- [Bug fixes] * Fixed invalid check for escaped single quotes * Fixed unpermitted modification of array source for table creation (CREATE TABLE AS IMPORT(?),[[..],[..]]) * Fixing alias used in ORDER BY (RT#61384, thanks jvm) * Fixing ORDER BY behavior for multiple sort columns (slower, but guaranteed correct) [Improvements] * renamed fetch-method into fetch_row (keep fetch() as alias) and add a fetch_rows() to fetch all rows at once * Different accessors for direction of ORDER BY clause query part and it's boolean equivalent "desc" (0 or 1, respectively) * Add a lot of Pure-Perl DBD's as build dependency for testing (skip DBD::AnyData for now, because it seems to be broken - check for next release) [Misc] * Bump requirement of DBI to 1.616 * switch for fully external DBD tests from DBD::XBase to DBD::SQLite * Document another limitation (lacking implicit creating temp table during processing a query using the same table with different aliases twice)
2011-08-14Revision bump after updating perl5 to 5.14.1.obache1-2/+2
2010-08-21Bump the PKGREVISION for all packages which depend directly on perl,seb1-1/+2
to trigger/signal a rebuild for the transition 5.10.1 -> 5.12.1. The list of packages is computed by finding all packages which end up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl, or PERL5_PACKLIST defined in their make setup (tested via "make show-vars VARNAMES=..."), minus the packages updated after the perl package update. sno@ was right after all, obache@ kindly asked and he@ led the way. Thanks!
2010-08-17Updating databases/p5-SQL-Statement from 1.30 to 1.31sno2-6/+6
Upstream changes: Version 1.31, released August 16th, 2010 ---------------------------------------------- [Bug fixes] * Fix misbehaviour of DELETE/UPDATE for tables with only basic capabilities and no matching where clause (reported by H.Merijn Brand and Drew ...) * Fix some column identifier splits to respect quoted tables [Improvements] * Optimized some core routines between 25% and 50%.
2010-08-04Updating databases/p5-SQL-Statement from 1.28 to 1.30sno2-6/+6
Upstream changes: Version 1.30, released August 1st, 2010 ---------------------------------------------- [Bug fixes] * remove blib directory from distfile Version 1.29, released August 1st, 2010 ---------------------------------------------- [Bug fixes] * add some getters as documented in SQL::Statement::Structure (fixes RT#59834, thanks John Wiersba) * add missing import of function croak to SQL::Statement::Term::ColumnValue * fix assignment of parser result (doesn't run with perl-5.13.3)
2010-07-17Updating databases/p5-SQL-Statement from 1.27 to 1.28sno2-7/+9
pkgsrc changes: - require DBI-1.612 for testing - add conflict for DBI<=1.612 Upstream changes: Version 1.28, release July 15th, 2010 ---------------------------------------------- [Improvements] * Introduce new "capability" method for SQL::Statement and SQL::Eval::Table + Add capability for "insert_new_row" to allow DBD::DBM to fix PK constrain on INSERT statements. * Performance of IMPORT feature improved (thanks to Sven Probst, RT#57322) [Bug fixes] * expect every table object being derived from SQL::Eval::Table * rewrite DELETE and UPDATE command based on table capabilities * add abstract methods for all methods derived classes must override (this means, open_table for SQL::Statement deriveds must be overridden and all data access methods of tables - see SQL::Eval::Table for details) * Tests are fixed to use TEMP TABLES explicitely when required * check for invalid column names fixed * Don't let depreciated parser structures stay alive in SQL::Statement when reusing the Parser [Documentation] * Method documentation of SQL::Statement and SQL::Eval::Table are improved * Add a Roadmap describing future plans for SQL::Statement (in addition to DBD::File::Roadmap). * POD spelling fixes provided by H.Merijn Brand and Pod::Spell::CommonMistakes (thanks Tux) * POD grammar fixes and reasonable sentences created by Martin Evans [Things that may break your code] * SQL::Statement 1.28 is expected not to work proper in combination with DBI 1.611 and below * SQL::Statement::ColumnValue expects now every table being derived from SQL::Eval::Table
2010-05-07Updating databases/p5-SQL-Statement from 1.26 to 1.27sno2-6/+6
Upstream changes: Version 1.27, release May 06th, 2010 ---------------------------------------------- [Bug fixes] * use originally given table name for open_table() on SELECT, too (all other command still use the originally given name) * warn/die -> carp/croak * fix delete_one_row & update_one_row ability using [Documentation] * Apply spelling fix patch from Ansgar Burchardt (RT#56475)
2010-03-16Updating databases/p5-SQL-Statement from 1.22 to 1.25sno3-11/+28
pkgsrc changes: - Adjust dependencies (mark fullfilled by perl CORE) Upstream changes: Version 1.25, release March 15th, 2010 ---------------------------------------------- [Bug fixes] * Keep org_table_names with schema information to allow derived table classes to handle as it seems reasonable there * Separate columns with "\0" in multi-column aggregation to be able to difference between ('1','1foo') and ('11','foo') [Misc] * More resources added to META.yml Version 1.24, release March 15th, 2010 ---------------------------------------------- [Misc] * Ignore *.rej in MANIFEST.SKIP (fixes RT #52081 reported by Lars Thegler) [Bug fixes] * Add missing import of _INSTANCE in SQL::Statement::Function::NumericEval fixes RT #52356 - reported by Detlef Pilzecker) * Fix wrongly discarded DISTINCT clause (RT#53186) [Improvements] * Fix parsing errors of plain numbers (RT#16931) * Fix parsing errors of nested calculation / functions (RT#16931, RT#52356) * Rewrite result calculation of aggregation functions (simplify code, speed up) * Upgrade Makefile.PL (patch from Alexandr Ciornii) to handle different EU::MM versions and abilities properly * Update documentation to show how 'column_defs' and SQL::Statement::Term instances shall be used * Introduce SQL::Dialect::Role providing ini-style data access to SQL::Dialects (patch from Michael Schwern) [Things that may break your code] * SQL::Parser now didn't deliver a struct containing 'column_names', 'computed_columns' and 'set_functions' - it's combined into one member 'column_defs'. * Minimum required perl version is now 5.8 - upcoming next version of DBI requires perl 5.8, too - and I could simplify some code that's why Version 1.23, release November 20th, 2009 ---------------------------------------------- [Misc] * Applied patch from Marc Espie which fixes several orthographic errors in SQL::Statement::Syntax documentation. * Added a fixed version of test reported via RT #34121 [Bug fixes] * Fix an issue in UPDATE command which 'shift's the values from the list of parameters which causes there're no more parameters left after first row get's updated (Fixes RT #50788) * Fix aggregate function handling of new code since 1.21_01 * Correct handling of DISTINCT in aggregate functions [Improvements] * Add support for tables/columns starting with '_' for CSV and AnyData, which is usually forbidden by ANSI SQL * Add support for inserting multiple lines with one statement (fixes RT #31730) * Handle ANSI 'IS NULL' and CVS/AnyData 'IS NULL' different [Things that may break your code] * row_value now expects up to two arguments
2009-10-17Updating databases/p5-SQL-Statement from 1.20 to 1.22sno2-10/+18
pkgsrc changes: - Adding license definition - Adjusting dependencies - Ensure build - remove *.orig removal (may break some SunOS builds) Upstream changes: Version 1.22, release October 10th, 2009 ---------------------------------------------- [Misc] * Add missing changelog - no code changes Version 1.21, release October 10th, 2009 ---------------------------------------------- [Misc] * remove version dependency to check previously installed version * add DBD::File as "Test" requirement Version 1.21_8, release October 5th, 2009 ---------------------------------------------- [Bug fixes] * Add additional test for bug-fix in 1.21_7 to t/18bigjoin.t [Misc] * Correct some typo's in POD Version 1.21_7, not public released ---------------------------------------------- [Bug fixes] * Don't fail for non-existent columns introduced by functions in joins Version 1.21_6, release September 24th, 2009 ---------------------------------------------- [Bug fixes] * Don't abort Makefile.PL when in automated smoke tests Version 1.21_5, release September 23th, 2009 ---------------------------------------------- [Bug fixes] * table order isn't wrongly used in order of appearance when SQL::Parser couldn't determine an order * Some internal fixes [Misc] * Updated dependency to Params::Util to non-leaking 1.00 * Note dependency to Carp and Data::Dumper * rely on version to compare versions * Update POD for terms * Update Version 1.21_4, release September 21th, 2009 ---------------------------------------------- [Bug fixes] * modify regex to match types to fix problems with Perl 5.6.2 * add DESTROY methods to ensure clean up * fix lower casing internal table names when joining tables * replace parameter shifting by assigning @_ to the list of parameters Version 1.21_3, release September 17th, 2009 ---------------------------------------------- [Things that may break your code] * When someone accesses the where_clause attribute of the SQL::Statement instance - be aware that now IN and BETWEEN can be native entries [Bug fixes] * convert operation to upper case when surely initialized [Improvements] * IN and BETWEEN are now native operations - they are not expanded to OR'ed equalize operations anymore Version 1.21_2, release September 15th, 2009 ---------------------------------------------- [Things that may break your code] * modify behavior for unquoted identifiers - they're converted and returned lower cased now (instead upper cased as in 1.21_1) Fixes bug RT #48502 Version 1.21_1, release July 30th, 2009 ------------------------------------------ [Things that may break your code] * removed SQL::Statement::Column * don't instantiate SQL::Statement::Functions objects * Reworked internal column and function handling to reduce code complexity * rows and columns aren't setable from outside a table or eval object anymore [Bug fixes and other changes] * Fixed bugs: + RT #47292: Test failures with recent DBI + RT #44512: Patch for CREATE TABLE parsing + RT #42676: tests 16 failed
2009-03-10PkgSrc changes:sno2-10/+9
- Updating module to 1.20 Upstream changes: Version 1.20, released March 5th, 2009 ------------------------------------------ * Fixed Makefile in MANIFEST (reported by Havard Eidnes in RT #43586) * Fixed invalid label FETCHROW used (reported by Michael in RT #42982) * separated update_one_row and update_specific_row method names for tables to avoid confusion Auto-Oked by rhaen@, because I maintain the CPAN module
2009-02-25pkgsrc changes:sno1-1/+5
- add dependencies as they were noted in META.yml during the upstream changes
2009-02-24Update from version 1.17 to 1.19.he3-26/+10
Pkgsrc changes: o Added new needed dependencies o Removed no-longer-needed patch-aa Upstream changes: Version 1.19, released February 6th, 2009 ------------------------------------------ * Fixed OUTER JOIN behaviour * Added version info to all *.pm files to allow CPAN::Reporter find updates * Correct META-Files * Fixed reported bugs: Version 1.18_02, no public release ----------------------------------- Additional (profiled) optimizations for complicated where clauses Version 1.18_01, released January 12th, 2009 --------------------------------------------- No code changes within SQL::Statement - but deliver and execute additional tests.
2009-01-19Updating from version 1.15nb1 to 1.17.he3-23/+27
Pkgsrc changes: o Update patch to Makefile.PL to avoid reading stdin. Upstream changes: (Nothing marked 1.17 from upstream...) Version 1.16_04, released 4 January, 2009 ------------------------------------------ * added tests to prove valid quoting (most of them fail) * Reformat the source * add some (profiled) tweaks as removing useless regex to speed up SELECT * Fixed Bugs: * 14217 Does not correctly handle SQL statements with comments * 15686 Join syntax is case-sensitive, and common columns in natural joins are "ambiguous" [patch] * 13080 Cannot update a field based on its previous value * 26058 functions on computed columns aliased to the underlying column name are not called Version 1.16_03, released 1 January, 2009 ------------------------------------------ * removed *.orig and *.rej relicts Version 1.16_02, released 1 January, 2009 ------------------------------------------ * Changing join_2_tables to reduce memory usage when joining a lot of tables * Fixed Bugs: * 15688 Columns aliased with double quotes are a fatal error * 16579 Speed optimizations * 30590 Bug in SQL::Statement::is_number() * 41875 Bug in synopsis example Version 1.16_01, released 1 January, 2009 ------------------------------------------ * With this release, I'd like to welcome Jens Rehsack as co-maintainer of the SQL::Statement and SQL::Parser modules. Jens has added in some great improvements. Thanks Jens! -- Jeff * Adding a lot of join tests (once from Jeff, 48 from PostgreSQL official handbook) - no error of them will be corrected in the first run Thanks to Alexander Breibach <alexander.breibach@gmx.de> -- Jens
2008-10-19Bump the PKGREVISION for all packages which depend directly on perl,he1-1/+2
to trigger/signal a rebuild for the transition 5.8.8 -> 5.10.0. The list of packages is computed by finding all packages which end up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl, or PERL5_PACKLIST defined in their make setup (tested via "make show-vars VARNAMES=...").
2008-07-23updated to 1.15rhaen2-8/+7
ChangeLog: Changes log for Perl extension SQL::Statement Version 1.15, released 2 February, 2006 ---------------------------------------- * fixed placeholder bug in SQL::Statement::UPDATE thanks for bug report Tanktalus Version 1.14, released 21 April, 2005 ---------------------------------------- * fixed circular dependency in tests (one mistakenly required AnyData) Version 1.13, released 18 April, 2005 ---------------------------------------- * pod fixes Version 1.12, released 18 April, 2005 ---------------------------------------- * added support for GROUP BY (several people sent suggestions for this in the past, please email me so I can credit you, sorry I lost the names) * added support for true LIMIT - if a LIMIT clause is specified and no ORDER BY clause is specified, the SELECT will stop searching when the limit is reached; with an ORDER BY clause it will still search the entire table because we can only ORDER a set; using LIMIT without an ORDER BY will greatly increase speed * added support for CREATE/DROP keyword|operator|type|function * optimized process_predicate to only look up scalars once * completely re-wrote the POD * fixed bug in primary key search optimization thanks for bug report and test scripts: Jim Lambert, <jimlambrtATmac.com> * fixed problem with all_cols slowing inserts thanks for patch and test Cosimo Streppone <cosimoATcpan.org> * cleaned up case of temp table column names thanks for bug report: Dan Wright * added a META.YML and extra tests
2008-06-12Add DESTDIR support.joerg1-1/+3
2007-10-25Remove empty PLISTs from pkgsrc since revision 1.33 of plist/plist.mkjlam1-1/+0
can handle packages having no PLIST files.
2006-03-04Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where nojlam1-2/+2
developer is officially maintaining the package. The rationale for changing this from "tech-pkg" to "pkgsrc-users" is that it implies that any user can try to maintain the package (by submitting patches to the mailing list). Since the folks most likely to care about the package are the folks that want to use it or are already using it, this would leverage the energy of users who aren't developers.
2005-08-06Bump the PKGREVISIONs of all (638) packages that hardcode the locationsjlam1-2/+2
of Perl files to deal with the perl-5.8.7 update that moved all pkgsrc-installed Perl files into the "vendor" directories.
2005-07-13Turn PERL5_PACKLIST into a relative path instead of an absolute path.jlam1-2/+2
These paths are now relative to PERL5_PACKLIST_DIR, which currently defaults to ${PERL5_SITEARCH}. There is no change to the binary packages.
2005-04-11Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.tv1-2/+1
2005-04-03Update to 0.11mjl2-7/+7
* added support for CREATE TABLE AS SELECT ... and CREATE TABLE AS IMPORT() * added support for in-memory tables and heterogeneous operations * added many new built-in functions see SQL::Statement::Functions.pm * added support for user-defined functions, see SQL::Statement::Functions.pm * added support for column name aliases * added support for comparison to empty string (e.g. WHERE col1='') currently returns the same as WHERE col1 IS NULL * clean up a number of bugs in parentheses parsing and in the predicates IN and BETWEEN as well as speed things up considerably * fixed function detection regex in SQL::Parser::ROW_VALUE to accomodate arbitrary spacing * support concat operator '||' expressions * added following functions to SQL::Statement::Functions: - COALESCE/NVL - DECODE (same as Oracle DECODE) - CONCAT - REPLACE/SUBSTITUTE * fixed/adapted SQL::Statement::get_row_value(), SQL::Statement::SELECT(), for join'ed resultsets * fixed infinite recursion bug with empty IN() predicate * fixed case issues with table aliases in joins * column and table name hashes now default to case sensitive * where() method now supported as per the docs
2005-02-23Add RMD160 digests in addition to SHA1 ones.agc1-1/+2
2004-12-20since perl is now built with threads on most platforms, the perl archlibgrant1-1/+2
module directory has changed (eg. "darwin-2level" vs. "darwin-thread-multi-2level"). binary packages of perl modules need to be distinguishable between being built against threaded perl and unthreaded perl, so bump the PKGREVISION of all perl module packages and introduce BUILDLINK_RECOMMENDED for perl as perl>=5.8.5nb5 so the correct dependencies are registered and the binary packages are distinct. addresses PR pkg/28619 from H. Todd Fujinaka.
2004-04-27Convert to buildlink3.snj1-2/+2
2003-07-21COMMENT should start with a capital letter.martti1-2/+2
2003-07-17s/netbsd.org/NetBSD.org/grant1-2/+2
2003-06-02Use tech-pkg@ in favor of packages@ as MAINTAINER for orphaned packages.jschauma1-2/+2
Should anybody feel like they could be the maintainer for any of thewe packages, please adjust.
2003-04-21RCS tag.cjep1-0/+1
2003-03-03Update p5-SQL-Statement to 1.005mjl3-20/+18
* added support for MySQL-like "DROP TABLE IF EXISTS" * fixed bug in dotted column names e.g. tableA.colB * fixed bug in MAX and MIN * fixed bug in ORDER BY (when col names not in SELECT list) * added support for delimited identifiers (inside double quotes); these are case sensitive and can contain spaces and other special chars * added support for two forms of escaping single quotes inside quoted values: 'O\'Brien' or 'O''Brien' * added support for both C-Style and SQL-Style double-hypen comments, e.g. /* comment */ or -- comment * added GetInfo.pm for use with $dbh->get_info() * fixed bug in update that refers to its own columns (e.g. SET num = num + 2) * fixed bug in MIN and MAX when used with strings * identifiers (names of columns, tables, and table name aliases) are now all case insensitive as required by the SQL standard. all older versions including the XS versions used case sensitive column names * added numerous examples to test.pl * improved and/or fixed bugs in: * placeholder support * ORDER BY clause * LIKE/CLIKE/RLIKE/IN predicates * table name aliases in explicit joins
2002-10-13Use buildlink2. Use perl5/module.mk.seb1-6/+3
2002-02-14Update p5-SQL-Statement to 1.002mjl3-5/+21
Added backwards compatiblity: both SQL::Statement and SQL::Parser now work in perl version 5.004 and above. Changed defaults for DBD::CSV so it now accepts new SQL without adding extra flags to scripts Added support for SQL comments Fixed bugs in qualified column names (e.g. tableA.*), and in joins using ON or WHERE Fixed bug in UPDATE that caused the new value to be a hash rather than a scalar. New features: Explicit and implicit joins Table name aliases Set functions String functions String concatenation Numeric expressions IN predicate BETWEEN predicate Alphabetic comparison in WHERE clauses Ordering of text that looks like a number Verbose error messages for both Parsing and Execution errors Pure perl, new maintainer.
2001-11-30Update to 0.1021mjl2-5/+5
* Yet another attempt to get rid of those CR/LF line endings. :-(
2001-11-26Buildlinkify, in the sense that only the perl headers are found injlam1-3/+4
${PREFIX} -- everything else is pickup up from ${BUILDLINK_DIR}.
2001-11-01Move pkg/ files into package's toplevel directoryzuntum3-1/+1
2001-10-18SVR4 packages have a limit of 9 chars for a package name.veego1-1/+2
The automatic truncation in gensolpkg doesn't work for packages which have the same package name for the first 5-6 chars. e.g. amanda-server and amanda-client would be named amanda and amanda. Now, we add a SVR4_PKGNAME and use amacl for amanda-client and amase for amanda-server. All svr4 packages also have a vendor tag, so we have to reserve some chars for this tag, which is normaly 3 or 4 chars. Thats why we can only use 6 or 5 chars for SVR4_PKGNAME. I used 5 for all the packages, to give the vendor tag enough room. All p5-* packages and a few other packages have now a SVR4_PKGNAME.
2001-05-26Update to 0.1020. Changes:mjl2-5/+5
* Changed distribution to include files generated by Solaris bison 1.27 * Added LIMIT clause