Jump to content
  • 0

table cawiki-20240701-pagelinks.sql is broken


Pau

Question

I wasted too much time on this, only to realize the dump was absolutely broken. Probably other dumps of the same date are broken too. I'm just surprised this wasn't detected automatically, as the ids from page.sql don't match with the ones from this dump. Also, it's missing TWO ENTIRE COLUMNS (namespace and title) for some reason. I don't even know what to say.

Here's the start of the dump, so you can see what's going on:

-- MariaDB dump 10.19  Distrib 10.5.23-MariaDB, for debian-linux-gnu (x86_64)
--
-- Host: db1170    Database: cawiki
-- ------------------------------------------------------
-- Server version       10.6.16-MariaDB-log

/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

--
-- Table structure for table `pagelinks`
--

DROP TABLE IF EXISTS `pagelinks`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `pagelinks` (
  `pl_from` int(8) unsigned NOT NULL DEFAULT 0,
  `pl_from_namespace` int(11) NOT NULL DEFAULT 0,
  `pl_target_id` bigint(20) unsigned NOT NULL,
  PRIMARY KEY (`pl_from`,`pl_target_id`),
  KEY `pl_target_id` (`pl_target_id`,`pl_from`),
  KEY `pl_backlinks_namespace_target_id` (`pl_from_namespace`,`pl_target_id`,`pl_from`)
) ENGINE=InnoDB DEFAULT CHARSET=binary ROW_FORMAT=COMPRESSED KEY_BLOCK_SIZE=8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `pagelinks`
--

/*!40000 ALTER TABLE `pagelinks` DISABLE KEYS */;
INSERT INTO `pagelinks` VALUES (3270,0,4),(4351,0,4),(5407,0,4),(5585,0,4),(18785,0,4),(21227,0,4),(29987,0,4),(31890,0,4),(31971,0,4),(32404,0,4),(45750,0,4),(45996,0,4),(48210,0,4),(53840,0,4),(53944,0,4),(54162,0,4),(55471,0,4),(56773,0,4),(57390,0,4),(57394,0,4),(60580,0,4),(62044,0,4),(62046,0,4),(62048,0,4),(62490,0,4),(62720,0,4),(63508,0,4),(319404,0,4),(350257,0,4),(467290,0,4),(519536,0,4),(530057,0,4),(558300,0,4),(634339,0,4),(634535,0,4),(643120,0,4),(646340,0,4),(693631,0,4),(693720,0,4),(726352,0,4),(948699,0,4),(969738,0,4),(974021,0,4),(980979,0,4),(1044112,0,4),(1052828,0,4),(1063457,0,4),(1070717,0,4),(1151516,0,4),(1152139,0,4),(1163746,0,4),(1188586,0,4),(1193199,0,4),(1193206,0,4),(1193432,0,4),(1193557,0,4),(1193792,0,4),(1193810,0,4),(1195495,0,4),(1196543,0,4),(1197173,0,4),(1198306,0,4),(1201159,0,4),(1201761,0,4),(1201778,0,4),(1205329,0,4),(1205746,0,4),(1206319,0,4),(1206666,0,4),(1209348,0,4),(1209356,0,4),(1209369,0,4),(1210113,0,4),(1210358,0,4),(1210574,0,4),(1210775,0,4),(1211019,0,4),(1211046,0,4),(1211078,0,4),(1217613,0,4),(1217685,0,4),(1220576,0,4),(1223589,0,4),(1344179,0,4),(1397170,0,4),(1508211,0,4),(1508229,0,4),(1595301,0,4),(1690332,0,4),(1889206,0,4),(477,0,5),(1003,0,5),(5713,0,5),(20657,0,5),(20738,0,5),(23824,0,5),(25801,0,5),(46281,0,5),(46417,0,5),(53766,0,5),(67463,0,5),(85251,0,5),(99069,0,5),(113284,0,5),(168256,0,5),(172753,0,5),(257131,0,5),(406063,^C

When it should look like this:

-- !!!!!!!Skipping declarations as they are the same than the other snippet

--
-- Dumping data for table `pagelinks`
--

/*!40000 ALTER TABLE `pagelinks` DISABLE KEYS */;
INSERT INTO `pagelinks` VALUES (908996,0,'!',0,1026903),(77785,0,'!!!',0,783159),(115551,0,'!!!',0,783159),(150327,0,'!!!',0,783159),(445399,0,'!!!',0,783159),(1412609,0,'!!!',0,783159),(1680345,0,'!!!',0,783159),(1649279,0,'!Es_mi_hombre!',0,3499538),(21342,0,'!Kung_(grup_humà)',0,427395),(106474,0,'!Kung_(grup_humà)',0,427395),(124728,0,'!Kung_(grup_humà)',0,427395),(124738,0,'!Kung_(grup_humà)',0,427395),(124742,0,'!Kung_(grup_humà)',0,427395),(138968,0,'!Kung_(grup_humà)',0,427395),(247549,0,'!Kung_(grup_humà)',0,427395),(247555,0,'!Kung_(grup_humà)',0,427395),(530065,0,'!Kung_(grup_humà)',0,427395),(845408,0,'!Kung_(grup_humà)',0,427395),(1023860,0,'!Kung_(grup_humà)',0,427395),(1116065,0,'!Kung_(grup_humà)',0,427395),(1116757,0,'!Kung_(grup_humà)',0,427395),(1159246,0,'!Kung_(grup_humà)',0,427395),(1346241,0,'!Kung_(grup_humà)',0,427395),(1349011,0,'!Kung_(grup_humà)',0,427395),(1349033,0,'!Kung_(grup_humà)',0,427395),(1349036,0,'!Kung_(grup_humà)',0,427395),(1349062,0,'!Kung_(grup_humà)',0,427395),(1485598,0,'!Kung_(grup_humà)',0,427395),(1500905,0,'!Kung_(grup_humà)',0,427395),(1501091,0,'!Kung_(grup_humà)',0,427395),(1501098,0,'!Kung_(grup_humà)',0,427395),(1501881,0,'!Kung_(grup_humà)',0,427395),(1501895,0,'!Kung_(grup_humà)',0,427395),(1502111,0,'!Kung_(grup_humà)',0,427395),(1503122,0,'!Kung_(grup_humà)',0,427395),(1503356,0,'!Kung_(grup_humà)',0,427395),(1503362,0,

 

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.