These forums have been archived and are now read-only.
The new forums are live and can be found at https://forums.eveonline.com/
Yapeal PHP API library (2.0)
Finds camping stations from the inside much easier. Designer of Yapeal for the Eve API. Check out the Yapeal PHP API Library thread.
DatabaseUpdater::addDatabaseProcedure.CREATE PROCEDURE "yapeal"."AddOrModifyColumn"( IN param_database_name VARCHAR(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci, IN param_table_name VARCHAR(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci, IN param_column_name VARCHAR(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci, IN param_column_details VARCHAR(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci) BEGIN IF NOT EXISTS(SELECT NULL FROM "information_schema"."COLUMNS" WHERE "COLUMN_NAME" COLLATE utf8_unicode_ci = param_column_name AND "TABLE_NAME" COLLATE utf8_unicode_ci = param_table_name AND "table_schema" COLLATE utf8_unicode_ci = param_database_name) THEN/* Create the full statement to execute */ SET @StatementToExecute = concat('ALTER TABLE "', param_database_name, '"."', param_table_name, '" ADD COLUMN "', param_column_name, '" ', param_column_details) ;/* Prepare and execute the statement that was built */ PREPARE DynamicStatement FROM @StatementToExecute; EXECUTE DynamicStatement;/* Cleanup the prepared statement */ DEALLOCATE PREPARE DynamicStatement; ELSE/* Create the full statement to execute */ SET @StatementToExecute = concat('ALTER TABLE "', param_database_name, '"."', param_table_name, '" MODIFY COLUMN "', param_column_name, '" ', param_column_details) ;/* Prepare and execute the statement that was built */ PREPARE DynamicStatement FROM @StatementToExecute; EXECUTE DynamicStatement;/* Cleanup the prepared statement */ DEALLOCATE PREPARE DynamicStatement; END IF; ENDSql failed in DatabaseUpdater::addDatabaseProcedure on statement 1 with (42000) SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'COLLATE utf8_unicode_ci, IN param_table_name VARCHAR(100) CHARACTER SET ' at line 2
[2015-02-10 10:08:29] yapeal.DEBUG: Started network retrieve for account/AccountStatus [] [][2015-02-10 10:08:29] yapeal.INFO: Could NOT find /eve/yapealneu/lib/Database/Account/AccountStatus.xsl [] [][2015-02-10 10:08:29] yapeal.DEBUG: Given XSL name /eve/yapealneu/lib/Database/common.xsl [] [][2015-02-10 10:08:29] yapeal.DEBUG: Started XSD validating [] [][2015-02-10 10:08:29] yapeal.DEBUG: Element 'Offers': This element is not expected. [] [][2015-02-10 10:08:29] yapeal.WARNING: The data retrieved from Eve API account/AccountStatus for 3451731 is invalid [] []
Mr. Tibbers on twitter: @Mr_Tibbers
Mr. Tibbers Blog: www.eve-versum.de
show variables like "version"