Skip to content

Instantly share code, notes, and snippets.

@nox
Last active August 29, 2015 14:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nox/1f4cfe6b9ed3d9d2e2d9 to your computer and use it in GitHub Desktop.
Save nox/1f4cfe6b9ed3d9d2e2d9 to your computer and use it in GitHub Desktop.
GitHub, please tell me I'm wrong.
Why did a snippet of:
https://github.com/charliesome/mysql-5.5.36/blob/master/mysql-test/r/key_diff.result
Ended up in my OTP repos?
nox@Chamber:~/src/otp[maint>]
$ git fsck --full
error: inflate: data stream error (incorrect header check)
error: unable to unpack 0c072af5aa045db5402e1fe5468b35bb7a65c51b header
error: inflate: data stream error (incorrect header check)
fatal: loose object 0c072af5aa045db5402e1fe5468b35bb7a65c51b (stored in .git/objects/0c/072af5aa045db5402e1fe5468b35bb7a65c51b) is corrupt
nox@Chamber:~/src/otp[maint>]
$ cat .git/objects/0c/072af5aa045db5402e1fe5468b35bb7a65c51b
drop table if exists t1;
CREATE TABLE t1 (
a char(5) NOT NULL,
b char(4) NOT NULL,
KEY (a),
KEY (b)
);
INSERT INTO t1 VALUES ('A','B'),('b','A'),('C','c'),('D','E'),('a','a');
select * from t1,t1 as t2;
a b a b
A B A B
b A A B
C c A B
D E A B
a a A B
A B b A
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment