See the Mailing lists or Drupal Issue queue. There are also various working groups on groups.drupal.org

drupal.org bug

drupal.org in the end of web-page:

Fatal error: Lost connection to MySQL server during query query: LOCK TABLES cache WRITE in /var/www/drupal.org/htdocs/includes/database.mysql.inc on line 99

<base> has crept back in to 4.7 beta4

I noticed in a 2 week old CVS release of 4.7 that the html tag was removed from common.inc.

Not sure why it was done but i liked the change because having it in their was screwing up php debugger. I also just read the 4.6 to 4.7 API changes post and it says it has been removed...

GREAT... except...

the 4.7 Beta 4 release has it back in.

just a file mix up or has someone decided it should now be back?

Node sort order

Greetings,

As I understood there are no flexible way for users to manage node sort order. I saw that node order is hardcoded in the SQL quries. This concernes all possible node listings.

I wonder, will there be something for this in 4.7 ? I mean some API which will help to change nodes sort order on the page. For example, to give a user two links : sort by name and sort by date ...

Thanks.

Drupal 4.6 modules compatibility with 4.7

Greetings,

I'm now using Drupal 4.6 and have allready developed several modules and changed existing ones.
I'm going to upgrade to 4.7 and I wonder were there any valuable changes in 4.7 and what exactly should be redeveloped in my modules ? Why may they be NOT compatible ?

Thanks.

MySQL Explain, schema, and indicies for Drupal.org's slowest queries

Documentation on reading EXPLAIN statements.

Running MySQL 4.0.25

EXPLAIN SELECT DISTINCT i.sid, i.type FROM search_index i INNER JOIN node n ON n.nid = i.sid INNER JOIN users u ON n.uid = u.uid WHERE n.status = 0 AND (i.word LIKE 'search')

table type possible_keys key key_len ref rows Extra
i range sid,word word 50 4314 Using where; Using temporary
n eq_ref PRIMARY,uid,node_status_type PRIMARY 4 i.sid 1 Using where; Distinct
u eq_ref PRIMARY PRIMARY 4 n.uid 1 Using where; Using index; Distinct

EXPLAIN SELECT i.type, i.sid, SUM(i.score/t.count) AS score FROM search_index i INNER JOIN node n ON n.nid = i.sid INNER JOIN users u ON n.uid = u.uid INNER JOIN search_total t ON i.word = t.word WHERE n.status = 0 AND (i.word LIKE 'search') GROUP BY i.type, i.sid ORDER BY score DESC LIMIT 0, 10

table type possible_keys key key_len ref rows Extra
i range sid,word word 50 4314 Using where; Using temporary; Using filesort
n eq_ref PRIMARY,uid,node_status_type PRIMARY 4 i.sid 1 Using where
u eq_ref PRIMARY PRIMARY 4 n.uid 1 Using where; Using index
t eq_ref PRIMARY PRIMARY 50 i.word 1

MySQL Database Setup Script

Hey,

Just tried writing a PHP script to setup Drupal database for MySQL automatically. Not sure if it works for everyone, but it works for me so far, both 4.6, and 4.7. Just unzip the file into your drupal directory and run setup.php, and it should work from there. Not the best way to do things, but hey, it works. :-)

http://testbed.gempaks.com/setupscript.zip

Any takers?
Edmund

Pages

Subscribe with RSS Subscribe to RSS - Deprecated - Drupal core