Jump to content
  • 0

Some "errors" occured on gameserver.


InTheEndॐ

Question

Recommended Posts

  • 0

I never said that, now you put words in my mouth? (my point was that many people are just fine with primary keys)

 

OP, try that one.

 

ALTER TABLE spawnlist MODIFY id INT NOT NULL;
ALTER TABLE spawnlist DROP PRIMARY KEY;

 

Or just exchange

PRIMARY KEY

to

PRIMARY KEY AUTOINCREMENT

Link to comment
Share on other sites

  • 0

So you're saying it would be like that?

ALTER TABLE spawnlist DROP PRIMARY KEY AUTOINCREMENT;

 

It doesn't even work but nice try.

@dEvilKinG

Actualy i've checked SQL syntax using in L2J Frozen lastest version.

 

@MikeJ

 

No i doesn't mean anything about your line. Was talking generaly in SQL.

 

Link to comment
Share on other sites

  • 0

I never said that, now you put words in my mouth? (my point was that many people are just fine with primary keys)

 

OP, try that one.

 

ALTER TABLE spawnlist MODIFY id INT NOT NULL;
ALTER TABLE spawnlist DROP PRIMARY KEY;

 

mysql> ALTER TABLE spawnlist MODIFY id INT NOT NULL;

ALTER TABLE spawnlist DROP PRIMARY KEY;

Query OK, 36895 rows affected

Records: 36895  Duplicates: 0  Warnings: 0

 

Query OK, 36895 rows affected

Records: 36895  Duplicates: 0  Warnings: 0

 

mysql>

 

that's good? must i restart now or what? :P

Link to comment
Share on other sites

  • 0

mysql> ALTER TABLE spawnlist MODIFY id INT NOT NULL;

ALTER TABLE spawnlist DROP PRIMARY KEY;

Query OK, 36895 rows affected

Records: 36895  Duplicates: 0  Warnings: 0

 

Query OK, 36895 rows affected

Records: 36895  Duplicates: 0  Warnings: 0

 

mysql>

 

that's good? must i restart now or what? :P

Yeah, now primary key is gone buddy.

 

Try restarting and see if it's ok now.

Link to comment
Share on other sites

  • 0

What are you talking about?

 

Didn't quite get your point.

 

Two minds are better than one. Better solution can be easily found if two people discuss it. I'm also learning while helping others, we are always learning forever and ever and noone knows everything.

 

@xdem

If he thinks he does then he is stupid.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.



×
×
  • Create New...