spficklin
|
b7c7cd26de
Added a function that lists all tables in a Chado schema (per version) and altered the core to use that function. Previously it used a Postgres SQL statement to pull out all tables in the schema but this caused problems when non Chado tables were also present in the schema.
|
12 vuotta sitten |
spficklin
|
f627849b77
Fixed memory leaks
|
12 vuotta sitten |
spficklin
|
d2e6f50f5c
Fixed bug in core API that caused problem with the bulk loader when a duplicate record existed. The tripal_core_chado_select wasn't checking all unique constraints. Some tables have more than one
|
12 vuotta sitten |
Stephen Ficklin
|
ec689d00a5
Fixed a few more memory leaks on the bulk loader
|
12 vuotta sitten |
spficklin
|
e95db7502e
Fixed bug in Mview creation
|
12 vuotta sitten |
spficklin
|
3db8f358ef
Merge branch '6.x-1.x' of git.drupal.org:sandbox/spficklin/1337878 into 6.x-1.x
|
12 vuotta sitten |
spficklin
|
0dbf91d26a
Fixed unserialize problem with persistent connection
|
12 vuotta sitten |
laceysanderson
|
2bec126f0a
Fixed a small bug in tripal_core_set_chado_version() where the active db wasn't switched back to drupal
|
12 vuotta sitten |
laceysanderson
|
8e180d5063
tripal_core_set_chado_version() now returns the version of a chado db external to drupal
|
12 vuotta sitten |
spficklin
|
b7e66e10b5
Foreign key constraints are now created when a new custom table is added. Before the foreign key details were used for views integration and bulk loader but there were no actual FK relationships in the database. Now there are.
|
12 vuotta sitten |
spficklin
|
2a84591eed
Fixed bug when checking unique constraint on insert. If a value is not provided but there is a default then it will use the default value
|
12 vuotta sitten |
spficklin
|
fdb7f2ee8d
Added new type to chado_execute_prepared()
|
12 vuotta sitten |
spficklin
|
e6a9227107
Added new type to chado_execute_prepared()
|
12 vuotta sitten |
Stephen Ficklin
|
a798519522
Fixed slowness bugs in bulk loader
|
12 vuotta sitten |
spficklin
|
b60dcb4f26
Fixed many issues that cause memory leaks in the core and the bulk loader
|
12 vuotta sitten |
spficklin
|
88c5a5ee89
Speedup optimizations to get bulk loader to work faster. Slowness problems were caused by core modules that set search_path and checked for existence of chado database on every query
|
12 vuotta sitten |
spficklin
|
ff97c79d38
Fixed bug in loader
|
12 vuotta sitten |
spficklin
|
7e587c447d
updates to loader, fixed type in core
|
12 vuotta sitten |
spficklin
|
c3719190b6
Added a not fail option when a record is of type 'select' in the bulk loader. Altered the bulk loader to substitute primary key values into data table values so that there are less FK recursive calls. Added a new option to the tripal_core_chado_select to let someone just check if the record exists only using the unique constraint values.
|
13 vuotta sitten |
spficklin
|
841aaa543d
added the tripal_get_custom_schema to the tripal_core_get_chado_table_schema_function. This will allow the tripal_core_chado_insert (etc) functions to work with custom tables as well. Had to fix other places in the views integration where the tripal_get_custom_schema was being called.
|
13 vuotta sitten |
spficklin
|
ecd03c3e16
Added an interface for creating custom tables to the Tripa UI
|
13 vuotta sitten |
spficklin
|
2840b98e85
All node types (except stock) have a function to cleanup orphaned nodes but it wasn't complete for some. A new core API function was created that all modules with node types can use to clean up orphaned nodes. Also, the drush trpjob-run command was fixed so that a username must be provided to run the job
|
13 vuotta sitten |
spficklin
|
ef9e217d60
Fixed a bug in FK statement name construction in tripal_core_chado_[select/insert/update/delete]
|
13 vuotta sitten |
Lacey Sanderson
|
3f0763b237
Made foreign key statement names include number of args to make unique for bulk loader
|
13 vuotta sitten |
Lacey Sanderson
|
fb2790a90e
Added tripal_core_chado_prepare and tripal_core_chado_execute_prepared. Also added checking to ensure all arguments for a prepared statement are present before executing and added arguement comparison before saying a statement is already prepared
|
13 vuotta sitten |
spficklin
|
38daa52d75
Re-arranged file structure for tripal_analysis and tripal_cv. Also fixed but in tripal core
|
13 vuotta sitten |
spficklin
|
48f972cd1b
Bug fixes
|
13 vuotta sitten |
spficklin
|
feb56cc3c2
Oops left in debugging code
|
13 vuotta sitten |
spficklin
|
76cea3664f
Fixed some memory leaks in GFF loader and in the Core API
|
13 vuotta sitten |
spficklin
|
094ec69bde
Added prepared statements for tripal_core_chado_update and fixed it so that queiries for FK, UQ and PK constraints use prepared statements too. Altered GFF loader so that all queries use prepared statements
|
13 vuotta sitten |